Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. postcss-selector-parser
  4. ›
  5. CVE-2026-9358

CVE-2026-9358: postcss-selector-parser allows denial of service through uncontrolled AST recursion

May 26, 2026 (updated September 1, 2026)

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

References

  • gist.github.com/bx33661/581e3a38134601c04e19b4dfc9b459b9
  • github.com/advisories/GHSA-w9m9-85wc-3x92
  • github.com/postcss/postcss-selector-parser/commit/5bc698cef66f8abd12610dc623e5d67cbc0f869d
  • github.com/postcss/postcss-selector-parser/commit/e37c5b0b785b165e27508d2489fdec8e0f18b10a
  • github.com/postcss/postcss-selector-parser/releases/tag/6.1.3
  • github.com/postcss/postcss-selector-parser/releases/tag/7.1.3
  • nvd.nist.gov/vuln/detail/CVE-2026-9358
  • vuldb.com/cve/CVE-2026-9358
  • vuldb.com/submit/813080
  • vuldb.com/vuln/365321
  • vuldb.com/vuln/365321/cti

Code Behaviors & Features

Detect and mitigate CVE-2026-9358 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 6.1.0 before 6.1.3, all versions starting from 7.1.0 before 7.1.3

Fixed versions

  • 6.1.3
  • 7.1.3

Solution

Upgrade to versions 6.1.3, 7.1.3 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-404: Improper Resource Shutdown or Release

Source file

npm/postcss-selector-parser/CVE-2026-9358.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 02 Sep 2026 00:17:46 +0000.