CVE-2026-126192
MEDIUM 6.3CVSS 4.0Soup Sieve: General sibling combinator inside :has() matches untrusted HTML in quadratic time
Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 2.10, matching a developer-authored selector that places the general sibling combinator inside :has() repeatedly scans each candidate element's following siblings when the right-hand side is absent, producing quadratic work on attacker-controlled HTML. Applications that evaluate a fixed selector such as div:has(a ~ b) over untrusted markup can have a worker occupied for minutes by a small document, while the adjacent sibling form and trusted-only document processing are not affected in the same way. This issue is fixed in version 2.10.
- Published
- 12 Nov 2026
- Last modified
- 13 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-400CWE-407
- Also known as
- GHSA-4j63-6c4x-wfg4
- Sources
- NVDJSONOSV GHSA-4j63-6c4x-wfg4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.3 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | soupsieve | < 2.10.0 | 2.10.0 |
References
- https://github.com/facelessuser/soupsieve/commit/ffb88cca745c591224f74a8e86414a85e8f35fc0 · WEB
- https://github.com/facelessuser/soupsieve/pull/304 · WEB
- https://github.com/facelessuser/soupsieve/releases/tag/2.10 · WEB
- https://github.com/facelessuser/soupsieve/security/advisories/GHSA-4j63-6c4x-wfg4 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-126192 · ADVISORY
- https://github.com/facelessuser/soupsieve · PACKAGE
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 12 Nov 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Nov 2026)