Improper Input Validation Affecting postcss package, versions <8.4.31
Threat Intelligence
EPSS
0.06% (27th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JS-POSTCSS-5926692
- published 1 Oct 2023
- disclosed 29 Sep 2023
- credit Unknown
Introduced: 29 Sep 2023
CVE-2023-44270 Open this link in a new tabHow to fix?
Upgrade postcss
to version 8.4.31 or higher.
Overview
postcss is a PostCSS is a tool for transforming styles with JS plugins.
Affected versions of this package are vulnerable to Improper Input Validation when parsing external Cascading Style Sheets (CSS) with linters using PostCSS. An attacker can cause discrepancies by injecting malicious CSS rules, such as @font-face{ font:(\r/*);}
.
This vulnerability is because of an insecure regular expression usage in the RE_BAD_BRACKET
variable.
References
CVSS Scores
version 3.1