Skip to content
OpenAdvisories
Medium · 4.3 CVE-2026-9358 EUVD-2026-31571GHSA-w9m9-85wc-3x92

postcss-selector-parser AST Serialization container.js toString recursion

Published May 24, 2026 · Updated Jun 15, 2026 · Assigned by VulDB

Description

A vulnerability was determined in postcss-selector-parser up to 6.1.2/7.1.2. 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. Upgrading to version 6.1.3 and 7.1.3 is able to address this issue. This patch is called 5bc698cef66f8abd12610dc623e5d67cbc0f869d. It is suggested to upgrade the affected component. 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)." The commits were backported to 6.x branch, which was the most downloaded version.

Affected products

VendorProductAffectedFixed
— postcss-selector-parser 6.1.0, 6.1.1, 6.1.2, 7.1.0, 7.1.1, 7.1.2 6.1.3

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-css-loader 6.8.1+~cs14.1.4-1 —
Debian 13 node-css-loader No fix yet —
Debian 12 node-css-loader No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-css-loader No fix yet —
Ubuntu 26.04 LTS node-css-loader No fix yet —
Ubuntu 25.10 node-css-loader No fix yet —
Ubuntu 24.04 LTS node-css-loader No fix yet —
Ubuntu 22.04 LTS node-css-loader No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS node-css-loader No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 rust +18 1.96.0-1.hum1 RHSA-2026:22934

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling jupyter-base-notebook 7.6.3-r2 —
Wolfi rolling vitess-23 23.0.6-r3 —
Wolfi rolling vitess-24 24.0.3-r5 —
Wolfi rolling vitess-24-compat 24.0.3-r7 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm postcss-selector-parser >= 6.1.0, < 6.1.3 6.1.3 GHSA-w9m9-85wc-3x92
npm postcss-selector-parser >= 7.1.0, < 7.1.3 7.1.3 GHSA-w9m9-85wc-3x92

Advisories 1

References