Vulnerability Description
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 Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/HtmlUnit/htmlunit-neko/commit/c165891e0753aef3e05f5daa6250d3e
- https://github.com/HtmlUnit/htmlunit-neko/releases/tag/5.4.0
- https://github.com/HtmlUnit/htmlunit-neko/security/advisories/GHSA-39xg-prhf-878
- https://github.com/HtmlUnit/htmlunit-neko/security/advisories/GHSA-39xg-prhf-878
FAQ
What is CVE-2026-104828?
CVE-2026-104828 is a vulnerability with a CVSS score of 7.2 (HIGH). 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 s...
How severe is CVE-2026-104828?
CVE-2026-104828 has been rated HIGH with a CVSS base score of 7.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-104828?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.