soupsieve is vulnerable to Regular Expression Denial of Service (ReDoS)
53
Medium Risk
The IDENTIFIER and VALUE selector patterns use adjacent quantified character classes that match the same characters, so a long failed character run makes the regex engine backtrack across every split point. An unterminated attribute value or an identifier followed by an invalid character leads to quadratic time matching, so around 8 KB of that input consumes roughly eight seconds of CPU. The patch restructures the identifier pattern to remove the overlap so matching stays linear.
You are affected if you are using a version that falls within the vulnerable range and your application compiles user controlled CSS selectors.
soupsieve is vulnerable to Regular Expression Denial of Service (ReDoS) in versions 0.0.1 - 2.8.4.
Upgrade the soupsieve library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.