ghsa-7fh5-64p2-3v2j
Vulnerability from github
Published
2023-09-30 00:31
Modified
2023-10-10 21:32
Severity ?
Summary
PostCSS line return parsing error
Details
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.
{ "affected": [ { "package": { "ecosystem": "npm", "name": "postcss" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "8.4.31" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2023-44270" ], "database_specific": { "cwe_ids": [ "CWE-144", "CWE-74" ], "github_reviewed": true, "github_reviewed_at": "2023-10-03T15:04:58Z", "nvd_published_at": "2023-09-29T22:15:11Z", "severity": "MODERATE" }, "details": "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.\n\nThis 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.", "id": "GHSA-7fh5-64p2-3v2j", "modified": "2023-10-10T21:32:38Z", "published": "2023-09-30T00:31:10Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-44270" }, { "type": "WEB", "url": "https://github.com/github/advisory-database/issues/2820" }, { "type": "WEB", "url": "https://github.com/postcss/postcss/commit/58cc860b4c1707510c9cd1bc1fa30b423a9ad6c5" }, { "type": "PACKAGE", "url": "https://github.com/postcss/postcss" }, { "type": "WEB", "url": "https://github.com/postcss/postcss/blob/main/lib/tokenize.js#L25" }, { "type": "WEB", "url": "https://github.com/postcss/postcss/releases/tag/8.4.31" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N", "type": "CVSS_V3" } ], "summary": "PostCSS line return parsing error" }
Loading...
Loading...
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.