CVE-2026-69153

PostCSS: incomplete fix of CVE-2026-45623 — attacker-controlled sourceMappingURL reads arbitrary .map files when `from` is unset

Published Aug 3, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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

Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Postcss
Postcss postcss
Vendors & Products Postcss
Postcss postcss
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'}

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-22

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 3, 2026, 6:28 PM
Reserved
Aug 3, 2026, 3:47 PM
Status
Analyzed
Published
Aug 3, 2026, 5:16 PM
Modified
Aug 5, 2026, 2:58 PM
Severity
Important
Public date
Aug 3, 2026, 4:56 PM