Inefficient Regular Expression Complexity vulnerability in the CSS scrubber in rrrene html_sanitize_ex allows an unauthenticated remote attacker to… (CVE-2026-68749)
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.
AI Analysis
Technical Summary
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.
Inefficient Regular Expression Complexity vulnerability in the CSS scrubber in rrrene html_sanitize_ex allows an unauthenticated remote attacker to… (CVE-2026-68749)
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
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 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.