Skip to main content
EPSS 0.8%top 45%

Inefficient Algorithmic Complexity vulnerability in the traversal engine in rrrene html_sanitize_ex allows an unauthenticated remote attacker to… (CVE-2026-68750)

0
High
Published: 08/06/2026 (08/06/2026, 18:30:50 UTC)
Source: GCVE Database

Description

CVE-2026-68750 is an inefficient algorithmic complexity vulnerability in the traversal engine of the rrrene html_sanitize_ex library. It allows an unauthenticated remote attacker to exhaust server CPU and memory by submitting sanitized HTML with a large flat run of sibling elements. The traversal function recursively flattens sibling lists inefficiently, causing quadratic time complexity relative to the number of siblings. This vulnerability affects all public entry points without requiring special configuration or scrubbers. Versions from 0.3.1 up to but not including 1.5.3, including 1.5.0-rc.0, are impacted.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

html_sanitize_ex
pkg:hex/html_sanitize_ex
Affected versions
>=0.3.1 <1.5.3

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/19/2026, 15:05:07 UTC

Technical Analysis

The vulnerability in rrrene html_sanitize_ex arises from the traversal engine's inefficient handling of sibling elements during HTML sanitization. Specifically, the HtmlSanitizeEx.Traverser.traverse/2 function recursively processes the tail of sibling lists and repeatedly flattens the combined list, resulting in quadratic time complexity. This inefficiency can be exploited by an unauthenticated remote attacker to cause excessive CPU and memory consumption on the server by submitting sanitized HTML containing a large number of sibling elements. The traversal engine is invoked on every public entry point, so no special scrubber or configuration is needed to trigger the issue. The vulnerability affects versions >=0.3.1 and <1.5.3, including 0.3.1 and 1.5.0-rc.0. A test payload with 20,000 sibling elements can occupy a scheduler for approximately 1.7 seconds, with resource usage growing faster than the payload size.

Potential Impact

An unauthenticated remote attacker can exploit this vulnerability to cause denial of service by exhausting server CPU and memory resources. The quadratic complexity in processing sibling elements can degrade server performance significantly, potentially leading to service disruption. There is no requirement for special tags or configurations, making exploitation straightforward if the vulnerable versions are used.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official patch links are provided, users should monitor the vendor's announcements for updates addressing this issue. Until a fix is available, consider limiting the size and complexity of HTML inputs processed by html_sanitize_ex or applying rate limiting to mitigate potential denial of service attacks.

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

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-684p-mhw3-3cwq
Osv Schema Version
1.4.0
Aliases
["CVE-2026-68750"]
Database Specific Severity
HIGH
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a7b6fd2bf8831d5393ea917

Added to database: 08/11/2026, 18:54:10 UTC

Last enriched: 08/19/2026, 15:05:07 UTC

Last updated: 09/25/2026, 14:54:56 UTC

Views: 42

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