All vulnerabilities

npm

CVE-2026-9358

postcss-selector-parser allows denial of service through uncontrolled AST recursion

Severity
Low 4.3
Published
26 May 2026
Last changed
10 Sept 2026
Added to UpHeron
22 Oct 2026
Fixed in
6.1.3, 7.1.3
Exploit chance
0.3% in the next 30 daysHigher than 26% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Improper resource shutdown (CWE-404)
Attack
Over the network · No login needed · Needs someone to click or open something
Attacker can
Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Also known as
GHSA-w9m9-85wc-3x92
Sources
OSV.dev and GitHub

Description

A vulnerability was determined in postcss-selector-parser before 6.1.3 and 7.1.1. Affected is the function toString of the file src/selectors/container.js of the component AST Serialization. Executing a manipulation can lead to uncontrolled recursion. It is possible to launch the attack remotely. The exploit has been publicly disclosed and may be utilized. The vendor explains, that according to his definition "DoS on server-side on user-generated CSS is low risk for us (since most users compile own CSS with PostCSS)."

From the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
postcss-selector-parsernpm · osv:npm:postcss-selector-parser
  • From 6.1.0 before 6.1.3
  • From 7.1.0 before 7.1.3

About postcss-selector-parser

Weekly downloads (npm)
186,017,770npm, 17 Nov 2026

Vulnerabilities in postcss-selector-parser

In our list
2
Published in the last 12 months
2
Critical, last 12 months
0
High, last 12 months
0
Known exploited
0
Search the list for postcss-selector-parser

References