Vulnerability
CVE-2026-116695
Crass is a Ruby CSS parser that is compliant with the CSS Syntax Level 3 specification. Prior to 1.0.8, Crass incorrectly treats a closing parenthesis after an escaped backslash as escaped while consuming the remnants of a bad URL. Crass therefore keeps declarations, style rules, or at-rules inside a bad URL token even though a browser treats them as live CSS. A sanitizer that parses untrusted CSS with Crass and reserializes it without rejecting the bad URL can allow CSS used for UI redress, external resource loading, or CSS-based data exfiltration, but this issue does not enable script execution in modern browsers. This issue is fixed in version 1.0.8.
76 advisories report this vulnerability, across 7 ecosystems.
Advisories
- CGA-23qc-3w58-6gx2
- CGA-26gp-hg49-wmwf
- CGA-2gqc-xgwg-rmv4
- CGA-2j54-4wf4-cx43
- CGA-2qhm-g5r8-2jfc
- CGA-3762-x3jj-fvf9
- CGA-3gcr-cf2f-523g
- CGA-3p8q-5rrj-9rxc
- CGA-3q93-fpq5-mmwx
- CGA-3v66-3q9w-9m96
- CGA-433g-4r9g-cwm3
- CGA-446r-5r5h-j297
- CGA-58ff-jp43-mphc
- CGA-5j9q-23r5-72f6
- CGA-66f7-5fpg-3cq6
- CGA-66rj-wv97-8j8w
- CGA-68r7-v87p-w793
- CGA-72m6-cvfc-xvvx
- CGA-77x6-rw7g-4c8r
- CGA-7gjp-gpcv-6692
- CGA-825q-vrvq-chjq
- CGA-8333-mxcv-7x98
- CGA-835c-v8fj-mfx5
- CGA-84jw-gmcj-gcfj
- CGA-8fvp-gqjh-3362
- CGA-8gv6-r56p-7wm5
- CGA-8m7w-g8vh-6hc2
- CGA-8vg9-2wq8-xmm2
- CGA-8wq5-qv9c-wr3g
- CGA-9gwv-gwqh-cpgh
- CGA-9wcc-57mc-88jq
- CGA-9x83-c854-65h5
- CGA-f83r-c5x8-44m8
- CGA-f98x-6jm4-wf82
- CGA-f9m4-gxrw-vrvr
- CGA-fmgr-4f68-6w54
- CGA-g4p9-89f3-6v2x
- CGA-g5jh-g6h2-62wf
- CGA-g7mq-j84p-77cf
- CGA-gw8w-gx9f-pw4v
- CGA-h7v5-w3r4-wphm
- CGA-hj6r-9353-25j8
- CGA-jg57-35wc-c8q8
- CGA-m68j-xqp5-83qx
- CGA-m7c9-j6m4-9j29
- CGA-m7pp-f8f8-v7g8
- CGA-m97x-c6vp-mf65
- CGA-mhq7-gv34-8788
- CGA-mvmw-j462-49mj
- CGA-mxmx-pv7p-9gww
- CGA-p64q-hxcx-xm74
- CGA-pfv3-p34r-rvv9
- CGA-pr8p-78q8-4fp4
- CGA-pwq3-qj5h-36p8
- CGA-qc79-6j33-7hp9
- CGA-qjfc-xgj8-x4mp
- CGA-r26h-c26w-rp74
- CGA-r3cv-f5rr-hhjv
- CGA-r487-5qw2-h9jf
- CGA-r7ff-r34v-pfjm
- CGA-rf44-4wxq-g9gx
- CGA-rmrh-r494-54ff
- CGA-w2qp-qm2p-2pqj
- CGA-w4vf-w2hm-wwjg
- CGA-x49f-jw6j-wc2q
- CGA-x5gf-383c-fqrm
- CGA-x6r6-933p-8ff4
- CGA-xrmx-5fgr-55hg
-
DEBIAN-CVE-2026-116695
Crass is a Ruby CSS parser that is compliant with the CSS Syntax Level 3 specification. Prior to 1.0.8, Crass incorrectly treats a closing parenthesis after an escaped backslash as escaped while consuming the remnants…
-
GHSA-pq4g-8rxf-4g29
Crass: Incorrect tokenization of bad URLs enables CSS sanitizer bypass
-
OESA-2026-4724
rubygem-crass security update
-
OESA-2026-4725
rubygem-crass security update
-
OESA-2026-4726
rubygem-crass security update
-
OESA-2026-4760
rubygem-crass security update
-
SUSEVEX-CVE-2026-116695
Crass is a Ruby CSS parser that is compliant with the CSS Syntax Level 3 specification. Prior to 1.0.8, Crass incorrectly treats a closing parenthesis after an escaped backslash as escaped while consuming the remnants…
-
UBUNTU-CVE-2026-116695
Crass is a Ruby CSS parser that is compliant with the CSS Syntax Level 3 specification. Prior to 1.0.8, Crass incorrectly treats a closing parenthesis after an escaped backslash as escaped while consuming the remnants…