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 an injection vulnerability in the CSS scrubber of the 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 CSS property:value patterns, leaving other CSS constructs like @import unfiltered. Injected content remains within the <style> element and does not execute scripts. This affects versions from 0.3.1 up to but not including 1.5.4.
AI Analysis
Technical Summary
The vulnerability in html_sanitize_ex's CSS scrubber (CVE-2026-68747) is due to improper neutralization of special elements in CSS output. The scrubber uses a regex-based allowlist targeting property:value declarations, but fails to inspect or sanitize CSS at-rules such as @import. As a result, an attacker can inject CSS at-rules including remote stylesheet imports into sanitized output. Element boundaries are resolved before sanitization, preventing script execution or style element escape. This affects html_sanitize_ex versions from 0.3.1 before 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. The vulnerability does not allow script execution or escaping from the <style> element, limiting the impact to CSS injection. Confidentiality and integrity impacts are low, but the issue can affect page appearance or behavior via CSS.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should upgrade to html_sanitize_ex version 1.5.4 or later once available. Until then, consider additional filtering or sanitization of CSS at-rules outside property:value patterns.
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 an injection vulnerability in the CSS scrubber of the 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 CSS property:value patterns, leaving other CSS constructs like @import unfiltered. Injected content remains within the <style> element and does not execute scripts. This affects versions from 0.3.1 up to but not including 1.5.4.
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 html_sanitize_ex's CSS scrubber (CVE-2026-68747) is due to improper neutralization of special elements in CSS output. The scrubber uses a regex-based allowlist targeting property:value declarations, but fails to inspect or sanitize CSS at-rules such as @import. As a result, an attacker can inject CSS at-rules including remote stylesheet imports into sanitized output. Element boundaries are resolved before sanitization, preventing script execution or style element escape. This affects html_sanitize_ex versions from 0.3.1 before 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. The vulnerability does not allow script execution or escaping from the <style> element, limiting the impact to CSS injection. Confidentiality and integrity impacts are low, but the issue can affect page appearance or behavior via CSS.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should upgrade to html_sanitize_ex version 1.5.4 or later once available. Until then, consider additional filtering or sanitization of CSS at-rules outside property:value patterns.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-g72r-5wgp-6532
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-68747"]
- Ecosystems
- []
- Database Specific Severity
- LOW
- Cvss Version
- 3.1
Threat ID: 6a7b6fd2bf8831d5393ea5b2
Added to database: 08/11/2026, 18:54:10 UTC
Last enriched: 08/11/2026, 19:12:24 UTC
Last updated: 08/12/2026, 03:40:59 UTC
Views: 5
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.