Cross-site scripting in HtmlSanitizer - CVE-2026-25543

 

Cross-site scripting in HtmlSanitizer - CVE-2026-25543

Published: November 6, 2026


Vulnerability identifier: #VU159568
CSH Severity: Medium
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2026-25543
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an unauthenticated remote attacker to execute arbitrary JavaScript in a victim's browser through cross-site scripting.

The vulnerability exists due to HtmlSanitizer leaving template contents unsanitized when the application explicitly allows the otherwise disallowed template tag. An unauthenticated remote attacker can submit deeply nested HTML that causes browser parsing to expose embedded scripts when a victim views the sanitized output.


Affected software

HtmlSanitizer

How to mitigate CVE-2026-25543

Install security update from vendor's website.

HtmlSanitizer - update to 9.0.892

External References

Related Security Bulletins