Description
A vulnerability was determined in postcss up to 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)."
Problem types
Timeline
| 2026-05-23: | Advisory disclosed |
| 2026-05-23: | VulDB entry created |
| 2026-05-23: | VulDB entry last update |
Credits
bx33661 (VulDB User)
VulDB CNA Team
References
vuldb.com/vuln/365321 (VDB-365321 | postcss AST Serialization container.js toString recursion)
vuldb.com/vuln/365321/cti (VDB-365321 | CTI Indicators (IOB, IOC, TTP, IOA))
vuldb.com/submit/813080 (Submit #813080 | postcss-selector-parser postcss <= 7.1.1 CWE-674: Uncontrolled Recursion)
gist.github.com/bx33661/581e3a38134601c04e19b4dfc9b459b9