CVE-2022-28366 json
Denial of service in HtmlUnit-Neko
published 2022-04-21 4 y ago modified 2026-06-17 4 mo ago also GHSA-g9hh-vvx3-v37v , EUVD-2022-1739
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.2%
- EPSS 2.2% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven net.sourceforge.htmlunit:neko-htmlunit 2.27
- htmlunit htmlunit 2.27
- antisamy_project antisamy 1.6.6
- libowasp-antisamy-java Debian 14, Debian 13 1.7.4-1
debian advisories DEBIAN-CVE-2022-28366
Exploit prediction
2.18% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | net.sourceforge.htmlunit:neko-htmlunit | <2.27 |
2.27 |
References
-
github.com
/nahsra/antisamy/releases/tag/v1.6.6
web, release-notes, third-party-advisory
-
search.maven.org
/artifact/net.sourceforge.htmlunit/neko-htmlunit
web, release-notes, third-party-advisory
-
sourceforge.net
/projects/htmlunit/files/htmlunit/2.27/
release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-28366
advisory
-
github.com
/HtmlUnit/htmlunit-neko
package
-
sourceforge.net
/projects/htmlunit/files/htmlunit/2.27
web
Sources
- CVE List CVE-2022-28366
- GitHub Advisory GHSA-g9hh-vvx3-v37v
- NVD CVE-2022-28366
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.