CVE-2022-28366
Java vulnerability analysis and mitigation

Overview

Certain Neko-related HTML parsers were found to be vulnerable to a denial of service attack through crafted Processing Instruction (PI) input that causes excessive heap memory consumption. This vulnerability, identified as CVE-2022-28366, specifically affects HtmlUnit-Neko through version 2.26 and CyberNeko HTML through version 1.9.22. The vulnerability also impacts OWASP AntiSamy versions before 1.6.6 (NVD CVE).

Technical details

The vulnerability has been assigned a CVSS v3.1 Base Score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. The attack can be executed remotely and requires no privileges or user interaction. The vulnerability specifically targets the HTML parsing functionality when processing PI input, leading to excessive heap memory consumption (NVD CVE).

Impact

When successfully exploited, this vulnerability can lead to a denial of service condition through excessive heap memory consumption. The impact is limited to availability, with no direct effect on confidentiality or integrity of the system (NVD CVE).

Exploitability

The vulnerability can be triggered through crafted Processing Instruction (PI) input to the affected HTML parsers. The low attack complexity and the absence of required privileges or user interaction make this vulnerability relatively easy to exploit (NVD CVE).

Mitigation and workarounds

For HtmlUnit-Neko users, upgrading to version 2.27 or later is recommended. For OWASP AntiSamy users, upgrading to version 1.6.6 or later is necessary. Note that CyberNeko HTML users should be aware that version 1.9.22 is the last version of that library, and migration to alternative solutions may be required (AntiSamy Release).

Community reactions

The vulnerability has been acknowledged and addressed by multiple organizations. Notably, Atlassian has included this vulnerability in their December 2023 Security Bulletin, affecting their Jira Service Management Data Center and Server products (Atlassian Bulletin).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-76904CRITICAL9.8
  • Java logoJava
  • org.geotools.jdbc:gt-jdbc-postgis
NoYesAug 21, 2026
GHSA-mqjf-5f49-2fjhCRITICAL9.8
  • Java logoJava
  • org.geotools:gt-jdbc-postgis
NoYesAug 21, 2026
CVE-2026-54049HIGH8.7
  • Java logoJava
  • org.sakaiproject.conversations:sakai-conversations-impl
NoNoAug 24, 2026
CVE-2026-63202HIGH7.5
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026
CVE-2026-54050MEDIUM6.5
  • Java logoJava
  • org.sakaiproject.profile2:profile2-api
NoYesAug 24, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management