Advisory

GHSA-w9m9-85wc-3x92

Also known as: CVE-2026-9358

Summary

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

Details

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)."

Severity

Low Basis: The source's own band: LOW

Dates

Published
2026-05-26 13:30 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

postcss-selector-parser

npm · All systems

Affected

  • introduced 6.1.0, fixed 6.1.3 (semver)

Fixed versions

6.1.3

Fix

postcss-selector-parser

npm · All systems

Affected

  • introduced 7.1.0, fixed 7.1.3 (semver)

Fixed versions

7.1.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences