Information Disclosure Vulnerability in PostCSS by PostCSS
CVE-2026-45623

7.5HIGH

Key Information:

Vendor

Postcss

Status
Vendor
CVE Published:
27 July 2026

What is CVE-2026-45623?

An information disclosure vulnerability was identified in PostCSS, where the PreviousMap component improperly handles CSS input. Specifically, when processing CSS strings, it parses the sourceMappingURL comment and dereferences the path without implementing any security checks. This oversight allows attackers to exploit the vulnerability by manipulating the CSS input to read arbitrary files from the host system, potentially leaking sensitive information. The exposed data can be revealed through JSON.parse SyntaxError messages, providing attackers with insights into file existence and potentially facilitating further attacks such as Denial of Service (DoS). This vulnerability impacts any integration that processes untrusted CSS, including CMS themes, user-uploaded styles, and various build pipelines. Users are advised to upgrade to PostCSS version 8.5.12 or later to mitigate the risks.

Affected Version(s)

postcss < 8.5.12

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.