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.
References
Link | Resource |
---|---|
https://github.com/github/advisory-database/issues/2820 | Issue Tracking |
https://github.com/postcss/postcss/blob/main/lib/tokenize.js#L25 | Issue Tracking |
https://github.com/postcss/postcss/commit/58cc860b4c1707510c9cd1bc1fa30b423a9ad6c5 | Patch |
https://github.com/postcss/postcss/releases/tag/8.4.31 | Patch Release Notes |
https://github.com/github/advisory-database/issues/2820 | Issue Tracking |
https://github.com/postcss/postcss/blob/main/lib/tokenize.js#L25 | Issue Tracking |
https://github.com/postcss/postcss/commit/58cc860b4c1707510c9cd1bc1fa30b423a9ad6c5 | Patch |
https://github.com/postcss/postcss/releases/tag/8.4.31 | Patch Release Notes |
Configurations
History
21 Nov 2024, 08:25
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/github/advisory-database/issues/2820 - Issue Tracking | |
References | () https://github.com/postcss/postcss/blob/main/lib/tokenize.js#L25 - Issue Tracking | |
References | () https://github.com/postcss/postcss/commit/58cc860b4c1707510c9cd1bc1fa30b423a9ad6c5 - Patch | |
References | () https://github.com/postcss/postcss/releases/tag/8.4.31 - Patch, Release Notes |
10 Oct 2023, 17:19
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.3 |
CWE | CWE-74 | |
First Time |
Postcss postcss
Postcss |
|
CPE | cpe:2.3:a:postcss:postcss:*:*:*:*:*:node.js:*:* | |
References | (MISC) https://github.com/postcss/postcss/blob/main/lib/tokenize.js#L25 - Issue Tracking | |
References | (MISC) https://github.com/postcss/postcss/commit/58cc860b4c1707510c9cd1bc1fa30b423a9ad6c5 - Patch | |
References | (MISC) https://github.com/postcss/postcss/releases/tag/8.4.31 - Patch, Release Notes | |
References | (MISC) https://github.com/github/advisory-database/issues/2820 - Issue Tracking |
10 Oct 2023, 13:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
|
Summary | 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. |
29 Sep 2023, 22:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2023-09-29 22:15
Updated : 2024-11-21 08:25
NVD link : CVE-2023-44270
Mitre link : CVE-2023-44270
CVE.ORG link : CVE-2023-44270
JSON object : View
Products Affected
postcss
- postcss
CWE
CWE-74
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')