Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') vulnerability in the CSS scrubber in rrrene… (CVE-2026-68747)
CVE-2026-68747 is a low severity injection vulnerability in the CSS scrubber of the rrrene html_sanitize_ex library. It allows an unauthenticated remote attacker to inject CSS at-rules, such as importing a remote stylesheet, into pages served to other users. The vulnerability arises because the scrubber applies its allowlist only to property:value patterns, leaving other CSS constructs like @import unfiltered. Injected content remains within the <style> element and does not execute scripts.
AI Analysis
Technical Summary
The vulnerability in rrrene html_sanitize_ex's CSS scrubber (html_sanitize_ex.Scrubber.CSS.scrub/1) stems from improper neutralization of special elements in output used by downstream components. The scrubber uses a Regex.replace to filter CSS property:value declarations but does not inspect input that does not match this pattern, allowing injection of CSS at-rules such as '@import url(//attacker.example/style.css);'. This injected CSS is included in pages served to other users. Element boundaries are resolved before sanitization, preventing script execution or escaping the <style> element. The affected versions are from 0.3.1 up to but not including 1.4.5, and from 1.5.0-rc.0 up to but not including 1.5.4.
Potential Impact
An unauthenticated remote attacker can inject CSS at-rules into pages served to other users, potentially causing unintended styling or loading of remote stylesheets. However, the injected content cannot escape the <style> element and does not allow script execution, limiting the impact to CSS injection without direct code execution or cross-site scripting.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should monitor the vendor's advisories for updates or patches addressing this issue. Until a fix is available, consider additional filtering or sanitization of CSS at-rules in user input to prevent injection of remote stylesheets.
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') vulnerability in the CSS scrubber in rrrene… (CVE-2026-68747)
Description
CVE-2026-68747 is a low severity injection vulnerability in the CSS scrubber of the rrrene html_sanitize_ex library. It allows an unauthenticated remote attacker to inject CSS at-rules, such as importing a remote stylesheet, into pages served to other users. The vulnerability arises because the scrubber applies its allowlist only to property:value patterns, leaving other CSS constructs like @import unfiltered. Injected content remains within the <style> element and does not execute scripts.
CVSS v3.1
Score 6.1medium
Affected software
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's CSS scrubber (html_sanitize_ex.Scrubber.CSS.scrub/1) stems from improper neutralization of special elements in output used by downstream components. The scrubber uses a Regex.replace to filter CSS property:value declarations but does not inspect input that does not match this pattern, allowing injection of CSS at-rules such as '@import url(//attacker.example/style.css);'. This injected CSS is included in pages served to other users. Element boundaries are resolved before sanitization, preventing script execution or escaping the <style> element. The affected versions are from 0.3.1 up to but not including 1.4.5, and from 1.5.0-rc.0 up to but not including 1.5.4.
Potential Impact
An unauthenticated remote attacker can inject CSS at-rules into pages served to other users, potentially causing unintended styling or loading of remote stylesheets. However, the injected content cannot escape the <style> element and does not allow script execution, limiting the impact to CSS injection without direct code execution or cross-site scripting.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should monitor the vendor's advisories for updates or patches addressing this issue. Until a fix is available, consider additional filtering or sanitization of CSS at-rules in user input to prevent injection of remote stylesheets.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-g72r-5wgp-6532
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-68747"]
- Database Specific Severity
- LOW
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a7b6fd2bf8831d5393ea5b2
Added to database: 08/11/2026, 18:54:10 UTC
Last enriched: 08/19/2026, 15:05:37 UTC
Last updated: 09/27/2026, 01:47:44 UTC
Views: 56
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.