Intel

AIKIDO-2026-837633

html_sanitize_ex is vulnerable to Denial of Service (DoS)

CVE-2026-68750Published Aug 7, 2026
August 7, 2026

71

CVE Score

High

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

The traversal engine processes a node's sibling list by recursing on the tail and then calling List.flatten over the already flattened result, so each of n siblings copies and re-walks the entire remaining tail. This makes traversal quadratic in the number of siblings, and the traverser runs on every public entry point regardless of which scrubber is used. Sanitizing HTML that contains a large flat run of allowed sibling elements exhausts CPU and memory and can make the service unresponsive. The fix removes the redundant re-flattening so traversal cost is linear.

How do I fix this?

Upgrade the html_sanitize_ex library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

0.3.1 - 1.5.2

Fixed in 1.5.3

Background info

html_sanitize_ex is vulnerable to Denial of Service (DoS) in versions 0.3.1 - 1.5.2.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea