Security mailing lists by PureSourceCode

CVE-2026-126193

MEDIUM 5.3CVSS 3.1

Soup Sieve: Uncontrolled recursion in CSS parser lets nested pseudo-class selectors exhaust the Python call stack

Soup Sieve is a CSS selector library for Beautiful Soup. From 0.4 until 3.0, deeply nested CSS pseudo-class selectors can cause recursive parsing to exceed Python’s recursion limit and raise  RecursionError . Applications accepting untrusted selectors may experience failure of the affected request or task if the exception is not handled. The demonstrated behavior is recoverable and does not establish an interpreter crash or persistent service-wide denial of service. This vulnerability is fixed in version 3.0.

Published
12 Nov 2026
Last modified
16 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Awaiting Analysis
Weakness
CWE-674
Also known as
GHSA-7g44-g9rc-x53w
Sources
NVDJSONOSV GHSA-7g44-g9rc-x53wJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV PyPI soupsieve >= 0.4, < 3.0.2 3.0.2

References

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.