We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-8263

prettier parser-postcss.js parseNestedCSS redos



Description

EN DE

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.

In prettier bis 3.6.2 wurde eine problematische Schwachstelle ausgemacht. Das betrifft die Funktion parseNestedCSS der Datei src/language-css/parser-postcss.js. Mittels Manipulieren des Arguments node mit unbekannten Daten kann eine inefficient regular expression complexity-Schwachstelle ausgenutzt werden. Der Angriff kann über das Netzwerk angegangen werden. Der Exploit steht zur öffentlichen Verfügung.

Reserved 2025-07-26 | Published 2025-07-28 | Updated 2025-07-28 | Assigner VulDB


MEDIUM: 5.3CVSS: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
MEDIUM: 4.3CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R
MEDIUM: 4.3CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R
4.0AV:N/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:ND/RC:UR

Problem types

Inefficient Regular Expression Complexity

Resource Consumption

Timeline

2025-07-26:Advisory disclosed
2025-07-26:VulDB entry created
2025-07-26:VulDB entry last update

Credits

DayShift (VulDB User) reporter

References

vuldb.com/?id.317851 (VDB-317851 | prettier parser-postcss.js parseNestedCSS redos) vdb-entry technical-description

vuldb.com/?ctiid.317851 (VDB-317851 | CTI Indicators (IOB, IOC, TTP, IOA)) signature permissions-required

vuldb.com/?submit.617593 (Submit #617593 | prettier <=3.6.2 Inefficient Regular Expression Complexity) third-party-advisory

github.com/prettier/prettier/issues/17737 issue-tracking

github.com/prettier/prettier/issues/17737 exploit issue-tracking

cve.org (CVE-2025-8263)

nvd.nist.gov (CVE-2025-8263)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-8263

Support options

Helpdesk Chat, Email, Knowledgebase