{"schemaVersion":3,"id":"CVE-2022-28366","aliases":["UBUNTU-CVE-2022-28366","DEBIAN-CVE-2022-28366","GHSA-g9hh-vvx3-v37v"],"status":"published","duplicateOf":null,"title":null,"description":"Certain Neko-related HTML parsers allow a denial of service via crafted Processing Instruction (PI) input that causes excessive heap memory consumption. In particular, this issue exists in HtmlUnit-Neko through 2.26, and is fixed in 2.27. This issue also exists in CyberNeko HTML through 1.9.22 (also affecting OWASP AntiSamy before 1.6.6), but 1.9.22 is the last version of CyberNeko HTML. NOTE: this may be related to CVE-2022-24839.","dates":{"published":"2022-04-21T22:41:53.000Z","modified":"2024-08-03T05:56:15.220Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02166,"percentile":0.81973,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.04099999999999972,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.02125},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02166,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02166,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02166,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02166,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02166,"percentile":0.81973}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02125,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02166,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02166,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02166,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02166,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02166,"percentile":0.81973}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"antisamy_project","product":"antisamy","name":"antisamy","label":"antisamy","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.6.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.6.6","eol":null,"hubHref":"/vendor/antisamy_project/antisamy"},{"vendor":"cyberneko_html_project","product":"cyberneko_html","name":"cyberneko html","label":"cyberneko_html","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.9.22","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.9.22","eol":null,"hubHref":"/vendor/cyberneko_html_project/cyberneko_html"},{"vendor":"debian","product":"libowasp-antisamy-java","name":"libowasp-antisamy-java","label":"libowasp-antisamy-java","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libowasp-antisamy-java","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 1.7.4-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 1.7.4-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libowasp-antisamy-java","name":"libowasp-antisamy-java","label":"libowasp-antisamy-java","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libowasp-antisamy-java","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"htmlunit","product":"htmlunit","name":"htmlunit","label":"htmlunit","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.27","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.27","eol":null,"hubHref":"/vendor/htmlunit/htmlunit"},{"vendor":"net.sourceforge.htmlunit","product":"neko-htmlunit","name":"net.sourceforge.htmlunit:neko-htmlunit","label":"neko-htmlunit","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/net.sourceforge.htmlunit/neko-htmlunit","purlType":"maven","versions":[{"text":"< 2.27","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.27","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/nahsra/antisamy/releases/tag/v1.6.6","label":"github.com/nahsra/antisamy/releases/tag/v1.6.6","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Release Notes","Third Party Advisory"]},{"url":"https://search.maven.org/artifact/net.sourceforge.htmlunit/neko-htmlunit","label":"search.maven.org/artifact/net.sourceforge.htmlunit/neko-htmlunit","hostname":"search.maven.org","tags":["X Refsource MISC","REPORT","WEB","Release Notes","Third Party Advisory"]},{"url":"https://sourceforge.net/projects/htmlunit/files/htmlunit/2.27/","label":"sourceforge.net/projects/htmlunit/files/htmlunit/2.27/","hostname":"sourceforge.net","tags":["X Refsource MISC","REPORT","Release Notes","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-28366","label":"ubuntu.com/security/CVE-2022-28366","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://github.com/nahsra/antisamy/issues/174","label":"github.com/nahsra/antisamy/issues/174","hostname":"github.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-28366","label":"www.cve.org/CVERecord?id=CVE-2022-28366","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-28366","label":"security-tracker.debian.org/tracker/CVE-2022-28366","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-28366","label":"nvd.nist.gov/vuln/detail/CVE-2022-28366","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/HtmlUnit/htmlunit-neko","label":"github.com/HtmlUnit/htmlunit-neko","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://sourceforge.net/projects/htmlunit/files/htmlunit/2.27","label":"sourceforge.net/projects/htmlunit/files/htmlunit/2.27","hostname":"sourceforge.net","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":["CVE-2022-29280"],"related":[]},"timeline":[{"kind":"published","date":"2022-04-21T22:41:53.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T05:56:15.220Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T09:12:03.875Z","stale":false,"partial":false}}