CVE Details
Basic Information
| Title | prettier parser-postcss.js parseNestedCSS redos |
|---|---|
| Type | cve |
| Published | 2025-07-28T07:32:05.605Z |
| Modified | 2025-07-28T07:32:05.605Z |
Product Information
| Vendor | n/a |
|---|---|
| Product | prettier |
| Version | 3.6.0 |
CVSS Information
| Base Score | 5.3 (MEDIUM) |
|---|---|
| Attack Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P |
AI Analysis
| AI Description | A vulnerability in Prettier versions up to 3.6.2 allows remote attackers to cause inefficient regular expression complexity via the parseNestedCSS function. This can lead to performance issues or denial of service. |
|---|---|
| AI Severity | Medium |
| AI Vendor | Prettier |
| AI Product | Prettier |
| AI Version | 3.6.0, 3.6.1, 3.6.2 |
Affected Products
- n/a prettier 3.6.0
- n/a prettier 3.6.1
- n/a prettier 3.6.2
Additional Information
| CWE List | CWE-1333, CWE-400 |
|---|---|
| Source | VulDB |
Description
A vulnerability was found in prettier up to 3.6.2. It has been declared as problematic. Affected by this vulnerability is the function parseNestedCSS of the file src/language-css/parser-postcss.js. The manipulation of the argument node leads to inefficient regular expression complexity. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.