Lack of data validation In postcss
Description
PostCSS line return parsing error
An issue was discovered in PostCSS before 8.4.31. It affects linters using PostCSS to parse external Cascading Style Sheets (CSS). There may be \r discrepancies, as demonstrated by @font-face{ font:(\r/*);} in a rule.
This 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 originally included in a comment.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
npm | 8.4.31 | ||
debian 11 | 8.2.1+~cs5.3.23-8+deb11u1 | ||
debian 12 | 8.4.20+~cs8.0.23-1+deb12u1 | ||
debian 13 | 8.4.31+~cs8.0.26-1 | ||
debian 14 | 8.4.31+~cs8.0.26-1 | ||
rpm rhel8 | - | - | |
rpm rhel9 | - | - | |
rpm rhel9 | - | - | |
rpm rhel7 | - | - | |
rpm rhel10 | - | - |
1-10 of 11
10
Aliases
References