Skip to main content
EPSS 0.4%top 62%

Inefficient Regular Expression Complexity vulnerability in the CSS scrubber in rrrene html_sanitize_ex allows an unauthenticated remote attacker to… (CVE-2026-68749)

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

Description

CVE-2026-68749 is a high-severity vulnerability in the rrrene html_sanitize_ex library that causes inefficient regular expression complexity in its CSS scrubber. An unauthenticated remote attacker can exploit this by sending a long CSS declaration that triggers excessive CPU usage during HTML sanitization, leading to denial of service. The vulnerability arises from a regex pattern that matches property names greedily without length limits, causing quadratic time complexity. This results in CPU exhaustion but does not lead to data disclosure or modification. The affected versions are from 0.3.1 up to but not including 1.5.3, including 1.5.0-rc.0. No patch information is provided in the source data.

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

Affected versions
>=0.3.1 <1.5.3=0.3.1=1.5.0-rc.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/19/2026, 15:05:20 UTC

Technical Analysis

The vulnerability in html_sanitize_ex's CSS scrubber is due to an inefficient regular expression in HtmlSanitizeEx.Scrubber.CSS.scrub/1. The regex matches CSS property names with an unbounded greedy pattern followed by a mandatory colon. When a long sequence of word characters is not followed by a colon, the regex engine backtracks extensively, causing quadratic CPU time relative to input length. This allows an attacker to exhaust server CPU resources by submitting long CSS declarations in sanitized HTML. The impact is limited to CPU exhaustion, causing denial of service without data compromise. The affected versions include all releases from 0.3.1 before 1.4.5 and from 1.5.0-rc.0 before 1.5.3.

Potential Impact

The vulnerability causes CPU exhaustion on the server processing sanitized HTML containing long CSS declarations. This can lead to denial of service by saturating the BEAM scheduler pool and making the application unresponsive. There is no impact on data confidentiality, integrity, or availability beyond service disruption. No data is read, modified, or disclosed.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, consider limiting the size of CSS input passed to the sanitizer or applying external rate limiting to mitigate potential denial of service. Monitor application responsiveness to detect potential exploitation attempts.

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-8rjf-8hw9-j63g
Osv Schema Version
1.4.0
Aliases
["CVE-2026-68749"]
Database Specific Severity
HIGH
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a7b6fd2bf8831d5393ea5a4

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

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

Last updated: 09/24/2026, 01:47:44 UTC

Views: 32

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