CVE-2026-68747
Last modified
CVE-2026-68747 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') vulnerability in the CSS scrubber in rrrene html_sanitize_ex allows an unauthenticated remote attacker to inject CSS at-rules, including an import of a remote stylesheet, into a page served to other users. HtmlSanitizeEx.Scrubber.CSS.scrub/1 applies its property and value allowlist through a Regex.replace over substrings matching a property: value declaration pattern, so input that does not match that pattern is never inspected and is copied to the output unchanged. EPSS estimates a 0.43% chance of exploitation in the next 30 days.
Description
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') vulnerability in the CSS scrubber in rrrene html_sanitize_ex allows an unauthenticated remote attacker to inject CSS at-rules, including an import of a remote stylesheet, into a page served to other users. HtmlSanitizeEx.Scrubber.CSS.scrub/1 applies its property and value allowlist through a Regex.replace over substrings matching a property: value declaration pattern, so input that does not match that pattern is never inspected and is copied to the output unchanged. @import url(//attacker.example/style.css); survives, while the same URL inside a background: url(...) declaration is removed. Element boundaries are resolved before the scrubber runs, so injected content does not escape the <style> element and no script executes. This issue affects html_sanitize_ex: from 0.3.1 before 1.5.4.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Rrrene | Htmlsanitizeex | >= 0.3.1, < 1.5.4 |
References
- https://cna.erlef.org/cves/CVE-2026-68747.htmlPatch, Third Party Advisory
- https://osv.dev/vulnerability/EEF-CVE-2026-68747Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-68747?
How severe is CVE-2026-68747?
How do I fix CVE-2026-68747?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-6873An issue was discovered in Django 6.0 before 6.0.6 and 5.2 b…4.3
- CVE-2026-6874A vulnerability was determined in ericc-ch copilot-api up to…4.3
- CVE-2026-68742A flaw was found in SSSD. The sss_nss_protocol_parse_addr() …5.5
- CVE-2026-68743A flaw was found in SSSD. The extract_authtok_v1() function …5.5
- CVE-2026-68744A flaw was found in SSSD. The sss_nss_protocol_fill_initgr()…3.3
- CVE-2026-68746Not Failing Securely ('Failing Open') vulnerability in liveb…8.8
- CVE-2026-68749Inefficient Regular Expression Complexity vulnerability in t…7.5
- CVE-2026-6875ServiceNow has addressed a remote code execution vulnerabili…9.5
- CVE-2026-68750Inefficient Algorithmic Complexity vulnerability in the trav…7.5
- CVE-2026-68752A Project Resource Manager may gain broader administrative p…7.2
- CVE-2026-68753An unauthenticated user may access restricted Artifactory co…5.3
- CVE-2026-68754A repository publisher without delete permission may modify …6.5
Are you affected by CVE-2026-68747?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
