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.
{
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/44xxx/CVE-2023-44270.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:postcss:postcss:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "8.4.31"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "58cc860b4c1707510c9cd1bc1fa30b423a9ad6c5"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "8.4.31",
"range": [
{
"fixed": "90208de8805dd762596c0028b8637ffbed23e371"
}
],
"source": "REFERENCES_TAG"
}
]
}