PT-2026-104358
CVE-2026-104844
·
Published
2026-10-02
·
Updated
2026-11-05
Description by
CVSS 3.1
5.9
MediumMetricsAV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions
PostCSS Selector Parser versions prior to 7.1.6
Description
In the
splitWord() function within src/parser.js, the parser fails to treat period and hash characters as tokenizer word delimiters. This allows a flat selector to be processed as a single word token containing numerous class or ID indexes. The uniqs() deduplication process, per-index membership checks, and a Sass-interpolation filtering pass all perform repeated linear scanning of these index arrays. Consequently, the parsing complexity becomes quadratic relative to the number of indexes, enabling a specially crafted selector to exhaust a synchronous parser thread. The maxNestingDepth guard is ineffective as the malicious selector can have zero nesting depth. This issue specifically impacts consumers that synchronously parse untrusted selectors in an exposed request path.Recommendations
Update to version 7.1.6.
Found an issue in the description? Have something to add? Feel free to write us 👾