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-68749: CWE-1333 Inefficient Regular Expression Complexity in rrrene html_sanitize_ex

0
High
VulnerabilityCVE-2026-68749cvecve-2026-68749cwe-1333
Published: 08/06/2026 (08/06/2026, 14:50:12 UTC)
Source: CVE Database V5
Vendor/Project: rrrene
Product: 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

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:25 UTC

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.

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: 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 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