CVE-2023-44270
PostCSS CSS Injection Vulnerability
Description
An issue was discovered in PostCSS before 8.4.31. The 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 included in a comment.
INFO
Published Date :
Sept. 29, 2023, 10:15 p.m.
Last Modified :
Nov. 21, 2024, 8:25 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.1 | MEDIUM | [email protected] |
Solution
CVE-2023-44270
vulnerability.
Public PoC/Exploit Available at Github
CVE-2023-44270 has a 4 public
PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-44270
.
URL | Resource |
---|---|
https://github.com/github/advisory-database/issues/2820 | Issue Tracking |
https://github.com/postcss/postcss/blob/main/lib/tokenize.js#L25 | Issue Tracking |
https://github.com/postcss/postcss/commit/58cc860b4c1707510c9cd1bc1fa30b423a9ad6c5 | Patch |
https://github.com/postcss/postcss/releases/tag/8.4.31 | Patch Release Notes |
https://github.com/github/advisory-database/issues/2820 | Issue Tracking |
https://github.com/postcss/postcss/blob/main/lib/tokenize.js#L25 | Issue Tracking |
https://github.com/postcss/postcss/commit/58cc860b4c1707510c9cd1bc1fa30b423a9ad6c5 | Patch |
https://github.com/postcss/postcss/releases/tag/8.4.31 | Patch Release Notes |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-44270
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-44270
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Python HTML CSS JavaScript Shell
A centralized repository of standalone security patches for open source libraries.
appsec backport cve devsecops fix hotfix open-source patch protection remediation seal security update upgrade vulnerability
None
JavaScript TypeScript CSS
None
MATLAB TypeScript JavaScript HTML CSS
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-44270
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-44270
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/github/advisory-database/issues/2820 Added Reference https://github.com/postcss/postcss/blob/main/lib/tokenize.js#L25 Added Reference https://github.com/postcss/postcss/commit/58cc860b4c1707510c9cd1bc1fa30b423a9ad6c5 Added Reference https://github.com/postcss/postcss/releases/tag/8.4.31 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Oct. 10, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N Changed Reference Type https://github.com/github/advisory-database/issues/2820 No Types Assigned https://github.com/github/advisory-database/issues/2820 Issue Tracking Changed Reference Type https://github.com/postcss/postcss/blob/main/lib/tokenize.js#L25 No Types Assigned https://github.com/postcss/postcss/blob/main/lib/tokenize.js#L25 Issue Tracking Changed Reference Type https://github.com/postcss/postcss/commit/58cc860b4c1707510c9cd1bc1fa30b423a9ad6c5 No Types Assigned https://github.com/postcss/postcss/commit/58cc860b4c1707510c9cd1bc1fa30b423a9ad6c5 Patch Changed Reference Type https://github.com/postcss/postcss/releases/tag/8.4.31 No Types Assigned https://github.com/postcss/postcss/releases/tag/8.4.31 Patch, Release Notes Added CWE NIST CWE-74 Added CPE Configuration OR *cpe:2.3:a:postcss:postcss:*:*:*:*:*:node.js:*:* versions up to (excluding) 8.4.31 -
CVE Modified by [email protected]
Oct. 10, 2023
Action Type Old Value New Value Changed 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. An issue was discovered in PostCSS before 8.4.31. The 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 included in a comment. Added Reference https://github.com/github/advisory-database/issues/2820 [No Types Assigned]
Vulnerability Scoring Details
Base CVSS Score: 5.3
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.11 }} -0.00%
score
0.29981
percentile