CVE-2026-9358: postcss-selector-parser AST Serialization container.js toString recursion

Published May 24, 2026
·
Updated

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 Software

2 affected components
npm/postcss-selector-parser<=6.1.2, <=7.1.2
IBM Concert Software<=1.0.0-3.0.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade postcss-selector-parser to a version that resolves this vulnerability.

    Fixed in 6.1.3
  2. Upgrade

    Upgrade postcss-selector-parser to a version that resolves this vulnerability.

    Fixed in 7.1.3Patch 5bc698cef66f8abd12610dc623e5d67cbc0f869d

Event History

May 24, 2026
CVE Published
via MITRE·05:30 AM
Data Sourced
via MITRE·05:30 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 AM
DescriptionSeverityWeakness
Dec 23, 58670
Event
via FIRST·03:59 AM

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2026-9358?

The severity of CVE-2026-9358 is rated medium with a score of 4.3.

2

What are the impacts of CVE-2026-9358?

CVE-2026-9358 can lead to uncontrolled recursion which may result in a denial of service.

3

How can I fix CVE-2026-9358?

To fix CVE-2026-9358, update postcss to version 7.1.2 or later.

4

Who is affected by CVE-2026-9358?

Users of postcss versions up to 7.1.1 are affected by CVE-2026-9358.

5

Can CVE-2026-9358 be exploited remotely?

Yes, CVE-2026-9358 can be exploited remotely.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203