Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-68750: CWE-407 Inefficient Algorithmic Complexity in rrrene html_sanitize_ex

0
High
VulnerabilityCVE-2026-68750cvecve-2026-68750cwe-407
Published: 08/06/2026 (08/06/2026, 14:50:20 UTC)
Source: CVE Database V5
Vendor/Project: rrrene
Product: html_sanitize_ex

Description

CVE-2026-68750 is an inefficient algorithmic complexity vulnerability in the html_sanitize_ex library by rrrene. The vulnerability arises in the traversal engine where processing a large number of sibling elements in sanitized HTML causes quadratic CPU and memory consumption. This can be triggered remotely without authentication by submitting allowed HTML tags with many sibling elements. The issue affects versions from 0.3.1 up to but not including 1.5.3.

CVSS v4.0

Score 8.2high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Affected software

html_sanitize_ex
pkg:hex/html_sanitize_ex
Affected versions
>=0.3.1 <1.5.3
GitHub Actionsmore threats →cve
rrrene/html_sanitize_ex
pkg:github/rrrene/html_sanitize_ex
CPE configurations
cpe:2.3:a:rrrene:html_sanitize_ex:*:*:*:*:*:*:*:*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/06/2026, 15:56:10 UTC

Technical Analysis

The vulnerability in html_sanitize_ex's traversal engine is due to the list clause of HtmlSanitizeEx.Traverser.traverse/2 recursively processing the tail of sibling nodes and repeatedly flattening the list, resulting in quadratic time complexity relative to the number of sibling elements. Because the traverser is invoked on every public entry point and does not require special scrubber configurations, an unauthenticated remote attacker can exhaust server CPU and memory resources by submitting sanitized HTML containing a large flat run of sibling elements. For example, a 160 KB payload with 20,000 sibling elements can occupy a scheduler for approximately 1.7 seconds, with resource consumption growing faster than the payload size.

Potential Impact

An unauthenticated remote attacker can cause denial of service by exhausting server CPU and memory resources through specially crafted HTML payloads containing many sibling elements. This can degrade or disrupt service availability due to the quadratic traversal cost in the vulnerable versions of html_sanitize_ex.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch is currently documented. Until a patch is available, consider limiting the size or complexity of HTML inputs processed by html_sanitize_ex to reduce the risk of resource exhaustion.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
EEF
Date Reserved
2026-07-31T13:23:00.355Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a74ab42bf8831d539ec74f7

Added to database: 08/06/2026, 15:41:54 UTC

Last enriched: 08/06/2026, 15:56:10 UTC

Last updated: 08/06/2026, 16:01:11 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses