Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Regex complexity limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 06, 2026
CPU exhaustion via quadratic regex backtracking in rrrene/html_sanitize_ex, an Elixir HTML sanitization library, allows unauthenticated remote attackers to saturate the BEAM scheduler pool and render applications unresponsive. The CSS scrubber's declaration regex applies an unbounded greedy quantifier on the property-name token; a crafted 80 KB style body containing no valid CSS colon costs approximately 2.4 seconds of scheduler time per request, meaning a handful of concurrent requests fully deny service. Affected versions span 0.3.1 through 1.5.2 inclusive; impact is strictly availability — no confidentiality or integrity loss occurs. No public exploit or CISA KEV listing is identified at time of analysis.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Know when Html Sanitize Ex gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from Vendor (EEF) · only source for this CVE.
CVSS VectorVendor: EEF
DescriptionCVE.org
Inefficient Regular Expression Complexity vulnerability in the CSS scrubber in rrrene html_sanitize_ex allows an unauthenticated remote attacker to exhaust server CPU via a long CSS declaration in sanitized HTML. The declaration regex in HtmlSanitizeEx.Scrubber.CSS.scrub/1 matches the property name with an unbounded greedy [-\w]+ followed by a mandatory :, so a long run of word characters not followed by a colon makes the engine give back one character at a time and retry the colon at every start offset. The work is quadratic in the length of the run, and no length cap is applied to the CSS handed to the scrubber. An 80 KB <style> body costs roughly 2.4 seconds of scheduler time, so a few concurrent requests saturate the BEAM scheduler pool and make the application unresponsive.
The impact is CPU exhaustion only. Nothing is read, modified or disclosed.
This issue affects html_sanitize_ex: from 0.3.1 before 1.5.3.
Executive ViewAI
Elixir applications using the html_sanitize_ex HTML sanitization library (versions 0.3.1-1.5.2) face unauthenticated denial-of-service attacks that can render services unresponsive with minimal attacker effort. A handful of crafted HTTP requests can exhaust the BEAM scheduler and cause complete service unavailability, impacting any dependent business processes and customer operations. This vulnerability affects availability only; no customer data or system integrity is at risk.
Within 24 hours, inventory all applications and services running vulnerable versions of html_sanitize_ex (0.3.1 through 1.5.2 inclusive) to identify scope of exposure. Within 7 days, upgrade all affected instances to the latest patched release available per vendor advisory, and validate changes in staging before production deployment. Within 30 days, confirm patch deployment across all production systems and document remediation status for compliance records.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Html Sanitize Ex
View allQuadratic CPU and memory exhaustion in html_sanitize_ex affects all applications that accept user-supplied HTML for sani
html_sanitize_ex's HTML5 scrubber (versions 0.3.1 through 1.5.2) permits the `form` and `formaction` attributes to survi
Open redirect in html_sanitize_ex (Elixir, versions 0.3.1 through 1.5.2) allows remote attackers to force page visitors
html_sanitize_ex's HTML5 scrubber (versions 0.3.1 through before 1.5.3) passes attacker-controlled URIs through the `dat
CSS at-rule injection in html_sanitize_ex (Elixir, versions 0.3.1-1.5.3) allows unauthenticated remote users to embed `@
EUVD-2026-54084
GHSA-8rjf-8hw9-j63g
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB