Description
PostCSS takes a CSS file and provides an API to analyze and modify its rules by transforming the rules into an Abstract Syntax Tree. Prior to 8.5.19, if from is unset, an attacker can cause PreviousMap.loadFile() to read an unintended source-map file by supplying an absolute or directory-traversal sourceMappingURL. The resulting map’s sources and sourcesContent may then be exposed to the application. This issue is fixed in version 8.5.19.
Published: 2026-08-03
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

PostCSS, a CSS processing library, allows an attacker to control the sourceMappingURL of a source map. When the "from" attribute is omitted, the previousMap.loadFile() method will read the file specified by sourceMappingURL, even if that path is absolute or contains path‑traversal sequences. The loaded map's sources and sourcesContent properties may expose arbitrary files to the application, leading to disclosure of sensitive information. The issue is fixed in version 8.5.19.

Affected Systems

All installations of the PostCSS library that are earlier than version 8.5.19. The vulnerability affects the postcss:postcss product, commonly used in build tools, front‑end frameworks, and web applications that import the library to process CSS.

Risk and Exploitability

The vulnerability is exploitable by supplying a crafted CSS file to a vulnerable application. An attacker does not need elevated privileges; the library will perform a file read based on the supplied path, which may access files on the host file system that are readable by the process. Because the CVSS score is 6.3, the risk is moderate, and the absence of an EPSS or KEV listing indicates no known active exploitation. However, the ability to read arbitrary files can still be valuable to an attacker, especially if the application can then use the contents to deanonymize users or access restricted data.

Generated by OpenCVE AI on August 4, 2026 at 10:04 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade PostCSS to version 8.5.19 or later.
  • Set the 'from' option when calling loadFile to prevent unintended file reads.
  • Validate or sanitize sourceMappingURL values to reject absolute or path‑traversal values.

Generated by OpenCVE AI on August 4, 2026 at 10:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-fxqj-rqcc-2cmp PostCSS: incomplete fix of GHSA-6g55-p6wh-862q — attacker-controlled sourceMappingURL reads arbitrary .map files when `from` is unset
History

Tue, 04 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

threat_severity

Important


Mon, 03 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 03 Aug 2026 19:15:00 +0000

Type Values Removed Values Added
First Time appeared Postcss
Postcss postcss
Vendors & Products Postcss
Postcss postcss

Mon, 03 Aug 2026 17:15:00 +0000

Type Values Removed Values Added
Description PostCSS takes a CSS file and provides an API to analyze and modify its rules by transforming the rules into an Abstract Syntax Tree. Prior to 8.5.19, if from is unset, an attacker can cause PreviousMap.loadFile() to read an unintended source-map file by supplying an absolute or directory-traversal sourceMappingURL. The resulting map’s sources and sourcesContent may then be exposed to the application. This issue is fixed in version 8.5.19.
Title PostCSS: incomplete fix of CVE-2026-45623 — attacker-controlled sourceMappingURL reads arbitrary .map files when `from` is unset
Weaknesses CWE-200
CWE-22
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-03T18:28:59.737Z

Reserved: 2026-08-03T15:47:09.654Z

Link: CVE-2026-69153

cve-icon Vulnrichment

Updated: 2026-08-03T18:28:52.676Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-03T17:16:46.127

Modified: 2026-08-05T14:58:45.517

Link: CVE-2026-69153

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-03T16:56:25Z

Links: CVE-2026-69153 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T10:15:04Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')