{"id":"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 `\u003c/style\u003e` sequences when stringifying CSS ASTs. When user-submitted CSS is parsed and re-stringified for embedding in HTML `\u003cstyle\u003e` tags, `\u003c/style\u003e` in CSS values breaks out of the style context, enabling XSS. Version 8.5.10 fixes the issue.","modified":"2026-09-01T16:06:41.852835341Z","published":"2026-04-24T03:16:11.547Z","upstream":["CVE-2026-41305"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-41305"}],"affected":[{"package":{"name":"node-postcss","ecosystem":"Debian:12","purl":"pkg:deb/debian/node-postcss?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.20+~cs8.0.23-1","8.4.20+~cs8.0.23-1+deb12u1","8.4.31+~cs8.0.26-1","8.4.39+~cs9.2.29-1","8.4.49+~cs9.2.32-1","8.5.12+~cs9.3.32-1","8.5.14+~cs9.3.34-1","8.5.15+~cs9.3.34-1","8.5.15+~cs9.3.38-1","8.5.15+~cs9.3.39-1","8.5.19+~cs10.2.23-1","8.5.21+~cs10.2.23-1","8.5.23+~cs10.2.23-1","8.5.25+~cs10.2.23-1","8.5.26+~cs10.2.24-1","8.5.6+~cs9.3.28-1","8.5.8+~cs9.3.30-1","8.5.9+~cs9.3.30-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-41305.json"}},{"package":{"name":"node-postcss","ecosystem":"Debian:13","purl":"pkg:deb/debian/node-postcss?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.49+~cs9.2.32-1","8.5.12+~cs9.3.32-1","8.5.14+~cs9.3.34-1","8.5.15+~cs9.3.34-1","8.5.15+~cs9.3.38-1","8.5.15+~cs9.3.39-1","8.5.19+~cs10.2.23-1","8.5.21+~cs10.2.23-1","8.5.23+~cs10.2.23-1","8.5.25+~cs10.2.23-1","8.5.26+~cs10.2.24-1","8.5.6+~cs9.3.28-1","8.5.8+~cs9.3.30-1","8.5.9+~cs9.3.30-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-41305.json"}},{"package":{"name":"node-postcss","ecosystem":"Debian:14","purl":"pkg:deb/debian/node-postcss?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.5.12+~cs9.3.32-1"}]}],"versions":["8.4.49+~cs9.2.32-1","8.5.6+~cs9.3.28-1","8.5.8+~cs9.3.30-1","8.5.9+~cs9.3.30-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-41305.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}