Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. postcss
  4. ›
  5. GHSA-r28c-9q8g-f849

GHSA-r28c-9q8g-f849: PostCSS: Path Traversal in Previous Source Map Auto-Loading (sourceMappingURL) leads to Arbitrary .map File Disclosure

July 24, 2026

Disclosure of the contents of arbitrary .map files reachable via path traversal (or absolute path when from is unset) from the process’s filesystem. Affects any application processing CSS it does not fully trust without explicitly passing map: false. No authentication or user interaction beyond submitting CSS text is required.

References

  • github.com/advisories/GHSA-r28c-9q8g-f849
  • github.com/postcss/postcss/commit/95663d3eb7ba26f4854dd19d3b4f4425760cf56c
  • github.com/postcss/postcss/releases/tag/8.5.18
  • github.com/postcss/postcss/security/advisories/GHSA-r28c-9q8g-f849

Code Behaviors & Features

Detect and mitigate GHSA-r28c-9q8g-f849 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 8.5.18

Fixed versions

  • 8.5.18

Solution

Upgrade to version 8.5.18 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/postcss/GHSA-r28c-9q8g-f849.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:19:19 +0000.