GHSA-7fh5-64p2-3v2j

    Dashboard / Vulnerabilities / GHSA-7fh5-64p2-3v2j

    GHSA-7fh5-64p2-3v2j

    Published: 30 Sept 2023Last Modified: 10 Sept 2026

    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 packages

    Package

    Name: postcss

    Purl: pkg:npm/postcss

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -8.4.31

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-7fh5-64p2-3v2j | CVE-DB