Inefficient Algorithmic Complexity in Java HTML Sanitizer - #VU163171
Published: November 9, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to cause denial of service through excessive CPU consumption in applications sanitizing untrusted HTML.
The vulnerability exists due to quadratic processing of duplicate attributes in Java HTML Sanitizer when the sanitization policy allows at least one attribute. An unauthenticated remote attacker can submit a single HTML tag containing many copies of an allowed attribute, causing one sanitization call to consume tens of seconds of CPU time.