CVE-2022-28366
HIGH7.5EPSS 0.18%Denial of service in HtmlUnit-Neko
Published: 4/23/2022Modified: 4/28/2026
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.
Affected packages (2)
- Debian/libowasp-antisamy-javafrom 0
- Maven/net.sourceforge.htmlunit:neko-htmlunitfrom 0, < 2.27
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-28366
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-28366
- PATCHhttps://github.com/HtmlUnit/htmlunit-neko
- WEBhttps://github.com/nahsra/antisamy/releases/tag/v1.6.6
- WEBhttps://search.maven.org/artifact/net.sourceforge.htmlunit/neko-htmlunit
- WEBhttps://sourceforge.net/projects/htmlunit/files/htmlunit/2.27