CVE-2022-28366
HIGH 7.5CVSS 3.1Denial of service in HtmlUnit-Neko
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.
- Published
- 21 Apr 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Also known as
- GHSA-g9hh-vvx3-v37v
- Sources
- NVDJSONOSV GHSA-g9hh-vvx3-v37vJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cyberneko_html_project | cyberneko_htmlcpe:2.3:a:cyberneko_html_project:cyberneko_html:*:*:*:*:*:*:*:* |
<= 1.9.22 | |
| NVD | htmlunit | htmlunitcpe:2.3:a:htmlunit:htmlunit:*:*:*:*:*:*:*:* |
< 2.27 | 2.27 |
| NVD | antisamy_project | antisamycpe:2.3:a:antisamy_project:antisamy:*:*:*:*:*:*:*:* |
< 1.6.6 | 1.6.6 |
| OSV | Maven | net.sourceforge.htmlunit:neko-htmlunit | < 2.27 | 2.27 |
References
- https://github.com/nahsra/antisamy/releases/tag/v1.6.6 · Release Notes, Third Party Advisory, WEB
- https://search.maven.org/artifact/net.sourceforge.htmlunit/neko-htmlunit · Release Notes, Third Party Advisory, WEB
- https://sourceforge.net/projects/htmlunit/files/htmlunit/2.27/ · Release Notes, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-28366 · ADVISORY
- https://github.com/HtmlUnit/htmlunit-neko · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 21 Apr 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 23 Apr 2022)