
CVE catalog
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 st
- Severity
- Medium · CVSS 6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.21% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-postcss | sid | 8.5.31+~cs10.2.26-1 | fixed |
| Debian | node-postcss | forky | 8.5.31+~cs10.2.26-1 | fixed |
| Debian | node-postcss | trixie | 8.4.49+~cs9.2.32-1 | vulnerable |
| Debian | node-postcss | bookworm | 8.4.20+~cs8.0.23-1+deb12u1 | vulnerable |
| Cpe | node-postcss | Not reported | Not reported | vulnerable |
| Npm | postcss | Not reported | 8.5.10 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-postcss | source | sid | 8.5.12+~cs9.3.32-1 | not yet assigned | Not reported | Not reported |
| Debian | node-postcss | source | forky | 8.5.12+~cs9.3.32-1 | not yet assigned | Not reported | Not reported |
| Debian | node-postcss | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | node-postcss | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| Npm | postcss | npm | Not reported | 8.5.10 | Not reported | GHSA-QX2V-QP2M-JG93 | Not reported |
Notes
[trixie] node-postcss: Minor issue [bookworm] node-postcss: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [node-postcss]Affected
Details (2)
8.4.20+~cs8.0.23-1+deb12u1· all · bookwormAffected
nvd · node-postcss · debian · bookworm; nvd · node-postcss · debian · 12
8.4.20+~cs8.0.23-1+deb12u1· all · bookwormAffected
nvd · node-postcss · debian · bookworm; nvd · node-postcss · debian · 12
[Debian 13 (Trixie)]
- [node-postcss]Affected
Details (2)
8.4.49+~cs9.2.32-1· all · trixieAffected
nvd · node-postcss · debian · 13
8.4.49+~cs9.2.32-1· all · trixieAffected
nvd · node-postcss · debian · 13
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-41305]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-41305]
- [https://osv.dev/vulnerability/GHSA-qx2v-qp2m-jg93]
- [https://security-tracker.debian.org/tracker/CVE-2026-41305]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41305.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1654.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]