Inefficient Algorithmic Complexity vulnerability in the traversal engine in rrrene html_sanitize_ex allows an unauthenticated remote attacker to… (CVE-2026-68750)
CVE-2026-68750 is an inefficient algorithmic complexity vulnerability in the traversal engine of the html_sanitize_ex library. It allows an unauthenticated remote attacker to cause high CPU and memory usage by sending a large number of sibling elements in sanitized HTML. The vulnerability arises from a quadratic-time traversal due to repeated flattening of sibling lists during HTML sanitization. This affects all public entry points using the traverser and requires only allowed tags in the payload. The issue impacts html_sanitize_ex versions from 0.3.1 up to but not including 1.5.3.
AI Analysis
Technical Summary
The vulnerability in html_sanitize_ex's traversal engine is due to inefficient handling of sibling elements during HTML sanitization. Specifically, the list clause of HtmlSanitizeEx.Traverser.traverse/2 recursively processes the tail of a sibling list and then flattens the combined list, causing repeated copying and re-walking of the tail. This results in quadratic time complexity in the number of siblings, enabling an attacker to exhaust server CPU and memory resources by submitting HTML with many sibling elements. The traverser is invoked on every public entry point, requiring no special scrubber or configuration, and the attack payload only needs allowed tags. The issue affects versions from 0.3.1 before 1.5.3.
Potential Impact
An unauthenticated remote attacker can exploit this vulnerability to cause a denial of service by exhausting server CPU and memory resources. The traversal engine's quadratic complexity means that large inputs with many sibling elements can significantly degrade server performance. There is no impact on confidentiality or integrity, but availability is severely affected.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability affects versions before 1.5.3, upgrading to version 1.5.3 or later is likely the intended fix. Until a patch is applied, consider limiting the size or complexity of HTML inputs to mitigate potential resource exhaustion.
Inefficient Algorithmic Complexity vulnerability in the traversal engine in rrrene html_sanitize_ex allows an unauthenticated remote attacker to… (CVE-2026-68750)
Description
CVE-2026-68750 is an inefficient algorithmic complexity vulnerability in the traversal engine of the html_sanitize_ex library. It allows an unauthenticated remote attacker to cause high CPU and memory usage by sending a large number of sibling elements in sanitized HTML. The vulnerability arises from a quadratic-time traversal due to repeated flattening of sibling lists during HTML sanitization. This affects all public entry points using the traverser and requires only allowed tags in the payload. The issue impacts html_sanitize_ex versions from 0.3.1 up to but not including 1.5.3.
CVSS v3.1
Score 7.5high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in html_sanitize_ex's traversal engine is due to inefficient handling of sibling elements during HTML sanitization. Specifically, the list clause of HtmlSanitizeEx.Traverser.traverse/2 recursively processes the tail of a sibling list and then flattens the combined list, causing repeated copying and re-walking of the tail. This results in quadratic time complexity in the number of siblings, enabling an attacker to exhaust server CPU and memory resources by submitting HTML with many sibling elements. The traverser is invoked on every public entry point, requiring no special scrubber or configuration, and the attack payload only needs allowed tags. The issue affects versions from 0.3.1 before 1.5.3.
Potential Impact
An unauthenticated remote attacker can exploit this vulnerability to cause a denial of service by exhausting server CPU and memory resources. The traversal engine's quadratic complexity means that large inputs with many sibling elements can significantly degrade server performance. There is no impact on confidentiality or integrity, but availability is severely affected.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability affects versions before 1.5.3, upgrading to version 1.5.3 or later is likely the intended fix. Until a patch is applied, consider limiting the size or complexity of HTML inputs to mitigate potential resource exhaustion.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-684p-mhw3-3cwq
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-68750"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a7b6fd2bf8831d5393ea917
Added to database: 08/11/2026, 18:54:10 UTC
Last enriched: 08/11/2026, 19:02:47 UTC
Last updated: 08/12/2026, 02:40:59 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.