CVE-2026-9358postcss-selector-parser AST Serialization container.js toString recursion
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.
What to do
Fixed builds are available from Debian, npm: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | node-css-loader | Fix pending | UBUNTU-CVE-2026-9358 | |
| Ubuntu 26.04 | node-css-loader | Under investigation | UBUNTU-CVE-2026-9358 | |
| Ubuntu 25.10 | node-css-loader | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-9358 | |
| Ubuntu 24.04 | node-css-loader | Under investigation | UBUNTU-CVE-2026-9358 | |
| Ubuntu 22.04 | node-css-loader | Under investigation | UBUNTU-CVE-2026-9358 | |
| Ubuntu 20.04 | node-css-loader | Fix pending | UBUNTU-CVE-2026-9358 | |
| Debian 14 | node-css-loader | Fixed | 6.8.1+~cs14.1.4-1 | DEBIAN-CVE-2026-9358 |
| Debian 13 | node-css-loader | Fix pending | DEBIAN-CVE-2026-9358 | |
| Debian 12 | node-css-loader | Fix pending | DEBIAN-CVE-2026-9358 | |
| Red Hat Enterprise Linux 10 | firefox | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | goose | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | grafana | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | grafana-selinux | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs-docs | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs-full-i18n | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs-npm | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs22 | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs24 | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs24-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs24-docs | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs24-full-i18n | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs24-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs24-npm | Not affected | ||
| Red Hat Enterprise Linux 10 | thunderbird | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | firefox | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | firefox-x11 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | gjs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | gjs-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | goose | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | grafana | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | grafana-selinux | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | nodejs | Not affected | ||
| Red Hat Enterprise Linux 9 | nodejs-docs | Not affected | ||
| Red Hat Enterprise Linux 9 | nodejs-full-i18n | Not affected | ||
| Red Hat Enterprise Linux 9 | nodejs-libs | Not affected | ||
| Red Hat Enterprise Linux 9 | npm | Not affected | ||
| Red Hat Enterprise Linux 9 | pcs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | pcs-snmp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | thunderbird | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | dnf-plugin-subscription-manager | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | dotnet5.0-build-reference-packages | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | firefox | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-azure-monitor | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-cloudwatch | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-elasticsearch | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-graphite | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-influxdb | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-loki | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-mssql | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-mysql | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-opentsdb | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-pcp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | grafana-postgres | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-prometheus | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-selinux | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-stackdriver | Not affected | ||
| Red Hat Enterprise Linux 8 | mozjs60 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | mozjs60-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nodejs | Not affected | ||
| Red Hat Enterprise Linux 8 | nodejs-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | nodejs-docs | Not affected | ||
| Red Hat Enterprise Linux 8 | nodejs-full-i18n | Not affected | ||
| Red Hat Enterprise Linux 8 | nodejs-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | nodejs-nodemon | Not affected | ||
| Red Hat Enterprise Linux 8 | nodejs-packaging | Not affected | ||
| Red Hat Enterprise Linux 8 | nodejs-packaging-bundler | Not affected | ||
| Red Hat Enterprise Linux 8 | npm | Not affected | ||
| Red Hat Enterprise Linux 8 | pcs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | pcs-snmp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | python3-cloud-what | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | python3-subscription-manager-rhsm | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | python3-syspurpose | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rhsm-gtk | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | rhsm-icons | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | subscription-manager | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | subscription-manager-cockpit | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | subscription-manager-initial-setup-addon | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | subscription-manager-migration | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | subscription-manager-plugin-ostree | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | subscription-manager-rhsm-certificates | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | thunderbird | Not affected | ||
| Red Hat Enterprise Linux 8 | v8-12.4-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | v8-13.6-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | firefox | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | python-syspurpose | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | rhsm-gtk | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | subscription-manager | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | subscription-manager-cockpit | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | subscription-manager-gui | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | subscription-manager-initial-setup-addon | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | subscription-manager-migration | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | subscription-manager-plugin-container | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | subscription-manager-plugin-ostree | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | subscription-manager-rhsm | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | subscription-manager-rhsm-certificates | Fix pending Fix deferred | ||
| npm library | postcss-selector-parser | Fixed | 7.1.3 | GHSA-w9m9-85wc-3x92 |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- postcss-selector-parser: affected: 6.1.0, 6.1.1, 6.1.2, 7.1.0, 7.1.1, 7.1.2
Vendor advisories:
- https://github.com/postcss/postcss-selector-parser/commit/5bc698cef66f8abd12610dc623e5d67… (patch)
- https://github.com/postcss/postcss-selector-parser/releases/tag/7.1.3 (patch)
References
- https://vuldb.com/vuln/365321
- https://vuldb.com/vuln/365321/cti
- https://vuldb.com/cve/CVE-2026-9358
- https://vuldb.com/submit/813080
- https://gist.github.com/bx33661/581e3a38134601c04e19b4dfc9b459b9
- https://github.com/postcss/postcss-selector-parser/commit/5bc698cef66f8abd12610dc623e5d67cbc0f869d
- https://github.com/postcss/postcss-selector-parser/releases/tag/7.1.3
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.