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

[CVE catalog]

Severity
Medium · CVSS 6.1CVSS: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.

DistributionPackageReleaseVersionStatus
Debiannode-postcsssid8.5.31+~cs10.2.26-1fixed
Debiannode-postcssforky8.5.31+~cs10.2.26-1fixed
Debiannode-postcsstrixie8.4.49+~cs9.2.32-1vulnerable
Debiannode-postcssbookworm8.4.20+~cs8.0.23-1+deb12u1vulnerable
Cpenode-postcssNot reportedNot reportedvulnerable
NpmpostcssNot reported8.5.10fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-postcsssourcesid8.5.12+~cs9.3.32-1not yet assignedNot reportedNot reported
Debiannode-postcsssourceforky8.5.12+~cs9.3.32-1not yet assignedNot reportedNot reported
Debiannode-postcsssourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debiannode-postcsssourcebookworm(unfixed)not yet assignedNot reportedNot reported
NpmpostcssnpmNot reported8.5.10Not reportedGHSA-QX2V-QP2M-JG93Not 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 · bookworm

      Affected

      nvd · node-postcss · debian · bookworm; nvd · node-postcss · debian · 12

    • 8.4.20+~cs8.0.23-1+deb12u1 · all · bookworm

      Affected

      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 · trixie

      Affected

      nvd · node-postcss · debian · 13

    • 8.4.49+~cs9.2.32-1 · all · trixie

      Affected

      nvd · node-postcss · debian · 13

Observed:

References