Inefficient Regular Expression Complexity in Prettier's CSS Parser
CVE-2025-8263

5.3MEDIUM

Key Information:

Vendor

Prettier

Status
Vendor
CVE Published:
28 July 2025

Badges

👾 Exploit Exists🟡 Public PoC

What is CVE-2025-8263?

A vulnerability has been identified in Prettier affecting versions up to 3.6.2, specifically within the parseNestedCSS function located in src/language-css/parser-postcss.js. This issue arises from the manipulation of the argument node, leading to inefficient regular expression complexity that can be exploited remotely. The exploit has been publicly disclosed, highlighting the potential for misuse in real-world scenarios.

Affected Version(s)

prettier 3.6.0

prettier 3.6.1

prettier 3.6.2

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
5.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

DayShift (VulDB User)
.
CVE-2025-8263 : Inefficient Regular Expression Complexity in Prettier's CSS Parser