What’s Vulnerable › Vulnerabilities

CVE-2023-44270: PostCSS line return parsing error

Description

An issue was discovered in PostCSS before 8.4.31. The vulnerability affects linters using PostCSS to parse external untrusted CSS. An attacker can prepare CSS in such a way that it will contains parts parsed by PostCSS as a CSS comment. After processing by PostCSS, it will be included in the PostCSS output in CSS nodes (rules, properties) despite being included in a comment.

Affected products

How to fix

Upgrade to a fixed version: postcss 8.4.31; Npm Postcss 8.4.31. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-44270 or the next vulnerability affects your stack