CVE catalog

CVE-2026-45623

PostCSS takes a CSS file and provides an API to analyze and modify its rules by transforming the rules into an Abstract Syntax Tree. In versions 8.5.11 and prior, the PreviousMap parses the /*# source

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.61% · 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. In versions 8.5.11 and prior, the PreviousMap parses the /*# sourceMappingURL=PATH */ comment from any CSS string passed to process() and dereferences PATH against the local filesystem with no scheme, allowlist, or traversal check. An attacker who controls the CSS input can cause the host process to read any file readable by Node and leak the first ~10 bytes of its content through the resulting JSON.parse SyntaxError message. The bug also yields a precise file-existence oracle and a controllable-read primitive that may be combined with large-file targets for DoS. The behaviour is triggered with PostCSS's default options — no from, no map, no plugins required — and is therefore reachable from any pipeline that runs untrusted CSS through PostCSS (CMS themes, user-uploaded styles, browser-extension/userstyle processors, build pipelines for third-party packages, blog comment renderers, etc.). This issue has been fixed in version 8.5.12.

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
NpmpostcssNot reported8.5.12fixed
NpmpostcssNot reported8.5.12fixed

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.12Not reportedGHSA-6G55-P6WH-862QNot reported
NpmpostcssnpmNot reported8.5.12Not reportedNot reportedNot 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