CVE-2026-68749: CWE-1333 Inefficient Regular Expression Complexity in rrrene html_sanitize_ex
CVE-2026-68749 is a high-severity vulnerability in the rrrene html_sanitize_ex library affecting versions from 0.3.1 up to but not including 1.5.3. It involves inefficient regular expression complexity in the CSS scrubber component, allowing an unauthenticated remote attacker to cause CPU exhaustion by sending a long CSS declaration in sanitized HTML. The vulnerability results in quadratic processing time due to a regex pattern that retries matching inefficiently on long runs of characters without a colon. The impact is limited to denial of service via CPU resource exhaustion; no data is disclosed or modified.
AI Analysis
Technical Summary
The vulnerability in rrrene html_sanitize_ex arises from an inefficient regular expression used in HtmlSanitizeEx.Scrubber.CSS.scrub/1 to match CSS property names. The regex uses an unbounded greedy character class followed by a mandatory colon, causing the regex engine to backtrack extensively on long runs of characters without a colon. This leads to quadratic time complexity in processing the CSS input. An attacker can exploit this by submitting a long CSS declaration in sanitized HTML, resulting in significant CPU consumption and potential denial of service by saturating the BEAM scheduler pool. The issue affects versions from 0.3.1 before 1.5.3. The impact is CPU exhaustion only, with no confidentiality or integrity compromise.
Potential Impact
The vulnerability allows an unauthenticated remote attacker to exhaust server CPU resources by submitting specially crafted long CSS declarations in sanitized HTML. This causes the application to become unresponsive due to scheduler saturation. There is no impact on data confidentiality or integrity, as 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 scrubber or implementing request rate limiting to reduce the risk of CPU exhaustion. Monitor application responsiveness to detect potential exploitation attempts.
CVE-2026-68749: CWE-1333 Inefficient Regular Expression Complexity in rrrene html_sanitize_ex
Description
CVE-2026-68749 is a high-severity vulnerability in the rrrene html_sanitize_ex library affecting versions from 0.3.1 up to but not including 1.5.3. It involves inefficient regular expression complexity in the CSS scrubber component, allowing an unauthenticated remote attacker to cause CPU exhaustion by sending a long CSS declaration in sanitized HTML. The vulnerability results in quadratic processing time due to a regex pattern that retries matching inefficiently on long runs of characters without a colon. The impact is limited to denial of service via CPU resource exhaustion; no data is disclosed or modified.
CVSS v4.0
Score 8.2high
Affected software
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.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in rrrene html_sanitize_ex arises from an inefficient regular expression used in HtmlSanitizeEx.Scrubber.CSS.scrub/1 to match CSS property names. The regex uses an unbounded greedy character class followed by a mandatory colon, causing the regex engine to backtrack extensively on long runs of characters without a colon. This leads to quadratic time complexity in processing the CSS input. An attacker can exploit this by submitting a long CSS declaration in sanitized HTML, resulting in significant CPU consumption and potential denial of service by saturating the BEAM scheduler pool. The issue affects versions from 0.3.1 before 1.5.3. The impact is CPU exhaustion only, with no confidentiality or integrity compromise.
Potential Impact
The vulnerability allows an unauthenticated remote attacker to exhaust server CPU resources by submitting specially crafted long CSS declarations in sanitized HTML. This causes the application to become unresponsive due to scheduler saturation. There is no impact on data confidentiality or integrity, as 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 scrubber or implementing request rate limiting to reduce the risk of CPU exhaustion. Monitor application responsiveness to detect potential exploitation attempts.
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: 6a74ab42bf8831d539ec74f1
Added to database: 08/06/2026, 15:41:54 UTC
Last enriched: 08/06/2026, 15:56:25 UTC
Last updated: 08/06/2026, 16:04:25 UTC
Views: 4
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.