MODERATE 5.3

CVE-2023-44270

PostCSS line return parsing error

Description

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 Maven artifacts (2)

ArtifactAffected versionsFixed in
org.mvnpm » postcssvia npm postcss
< 8.4.31
8.4.31
org.webjars.npm » postcssvia npm postcss
< 8.4.31
8.4.31

Blast radius

2affected artifacts
139affected versions
6dependent artifacts (est.)
6dependent versions

50% of the dependent artifacts (3) still pull an affected version in their latest release.

DepthDependent versions
Direct
5
2 hops
1

Most used dependents

Computed from the dependency graph of build 20261127.1117 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

Other ecosystems

Also affects npm (1 package) . See all on OSV