Debian Security Tracker
DEBIAN-CVE-2026-41305
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Debian:12 | node-postcss | All versions, no fix listed |
| Debian:13 | node-postcss | All versions, no fix listed |
| Debian:14 | node-postcss | All versions before 8.5.12+~cs9.3.32-1 (fixed in 8.5.12+~cs9.3.32-1) |