Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. postcss
  4. ›
  5. CVE-2023-44270

CVE-2023-44270: PostCSS line return parsing error

September 29, 2023 (updated October 10, 2023)

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.

References

  • github.com/advisories/GHSA-7fh5-64p2-3v2j
  • github.com/postcss/postcss/blob/main/lib/tokenize.js
  • github.com/postcss/postcss/commit/58cc860b4c1707510c9cd1bc1fa30b423a9ad6c5
  • github.com/postcss/postcss/releases/tag/8.4.31
  • nvd.nist.gov/vuln/detail/CVE-2023-44270

Code Behaviors & Features

Detect and mitigate CVE-2023-44270 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 8.4.31

Fixed versions

  • 8.4.31

Solution

Upgrade to version 8.4.31 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Source file

npm/postcss/CVE-2023-44270.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:12 +0000.