Vulnerability
CVE-2026-41305
PostCSS takes a CSS file and provides an API to analyze and modify its rules by transforming the rules into an Abstract Syntax Tree. Versions prior to 8.5.10 do not escape `</style>` sequences when stringifying CSS ASTs. When user-submitted CSS is parsed and re-stringified for embedding in HTML `<style>` tags, `</style>` in CSS values breaks out of the style context, enabling XSS. Version 8.5.10 fixes the issue.
227 advisories report this vulnerability, across 6 ecosystems.
Advisories in Wolfi
- CGA-2f37-g69j-4xj8
- CGA-2xwq-cch4-8jc7
- CGA-33h9-p7qf-9vff
- CGA-3rp4-28r3-837h
- CGA-3vxr-8m2c-ww6w
- CGA-4c9j-wmj6-w2w3
- CGA-52qj-h986-m5gq
- CGA-5794-42xc-2m7r
- CGA-5g37-x4x9-9qr8
- CGA-63xh-jw85-vf4h
- CGA-795h-v483-w7x8
- CGA-7h96-29r4-hx5c
- CGA-7vfv-g2gj-c77q
- CGA-8pmc-j77g-h3r9
- CGA-9jqq-j2wh-hv5w
- CGA-f37f-cp37-m6p7
- CGA-fqrp-9hp7-3f39
- CGA-fvg6-vqv9-mp4j
- CGA-g3cv-v8p5-5cwg
- CGA-g9mp-jhfr-5jmm
- CGA-gqgh-6mgr-9r5c
- CGA-grgw-4w94-64gg
- CGA-h7fr-g9jv-pp89
- CGA-hmg8-wr5x-p9wv
- CGA-mg6q-q3j7-wphm
- CGA-mgrw-82c2-rfg3
- CGA-p8cx-pwjc-p9x4
- CGA-pg8x-5w78-f3pm
- CGA-px9r-55q6-hcw2
- CGA-rx35-v939-2jr5
- CGA-vw5j-2pg8-xp94
- CGA-wghw-j24j-r72m
- CGA-x83m-v89p-5x2r
- CGA-x8rx-c8j9-r7qf
- CGA-xqq6-h7pq-vh4f