CVE-2026-104828
highHtmlUnit Neko is an HtmlUnit adaptation of NekoHTML.
HtmlUnit Neko is an HtmlUnit adaptation of NekoHTML. Prior to 5.4.0, HTMLWriterFilter writes decoded TEXTAREA and TITLE character content without entity encoding because both elements are treated as special content. During a parse-and-serialize round trip, entity references inside these escapable raw-text elements are decoded by the parser and then emitted as raw markup by printCharacters(), changing the document's semantics. Applications that use htmlunit-neko in an HTML sanitizer, content filter, or other parse-transform-serialize pipeline can therefore turn attacker-controlled encoded text into executable markup when the output is rendered by a browser. This issue is fixed in version 5.4.0.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/HtmlUnit/htmlunit-neko/commit/c165891e0753aef3e05f5daa6250d3e8d4ada3c0 security-advisories@github.com
- https://github.com/HtmlUnit/htmlunit-neko/releases/tag/5.4.0 security-advisories@github.com
- https://github.com/HtmlUnit/htmlunit-neko/security/advisories/GHSA-39xg-prhf-8785 security-advisories@github.com
- https://github.com/HtmlUnit/htmlunit-neko/security/advisories/GHSA-39xg-prhf-8785 134c704f-9b21-4f2e-91b3-4a467353bcc0
