Vulnerabilities/

PostCSS: Arbitrary file read and information disclosure via attacker-controlled sourceMappingURL in CSS comments

Severity:
High

Description

PostCSS’s 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.

Recommendation

Update the postcss package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
postcss
Anything's wrong? Let us know Last updated on July 23, 2026