Vulnerability in Postcss
CVE-2023-44270
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS: 0.010 (62.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 62nd percentile — 62.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.010 · newest: 0.010 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/postcss/postcss/blob/main/lib/tokenize.js (Issue Tracking)
- github.com/postcss/postcss/releases/tag/8.4.31 (Patch, Release Notes)
- github.com/postcss/postcss/commit/58cc860b4c1707510c9cd1bc1fa30b423a9ad6c5 (Patch)
- github.com/github/advisory-database/issues/2820 (Issue Tracking)
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2023-44270?
- CVE-2023-44270 is a medium-severity vulnerability in Postcss, classified under Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection). CVSS score: 5.3/10. Published 2023-09-29.
- How severe is CVE-2023-44270?
- Medium severity. CVSS v3 base score is 5.3 out of 10.
- Is CVE-2023-44270 known to be exploited?
- 4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.