Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.owasp.antisamy/antisamy
  4. ›
  5. CVE-2022-28366

CVE-2022-28366: Uncontrolled Resource Consumption

April 21, 2022 (updated October 28, 2022)

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-24939.

References

  • github.com/nahsra/antisamy/releases/tag/v1.6.6
  • nvd.nist.gov/vuln/detail/CVE-2022-28366
  • search.maven.org/artifact/net.sourceforge.htmlunit/neko-htmlunit
  • sourceforge.net/projects/htmlunit/files/htmlunit/2.27/

Code Behaviors & Features

Detect and mitigate CVE-2022-28366 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.6.6

Fixed versions

  • 1.6.6

Solution

Upgrade to version 1.6.6 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Source file

maven/org.owasp.antisamy/antisamy/CVE-2022-28366.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:23 +0000.