Property
Languagejavascript
Severitymedium
CWECWE-1333: Inefficient Regular Expression Complexity
OWASPA05:2021 - Security Misconfiguration
Confidence LevelLow
Impact LevelMedium
Likelihood LevelMedium

Description#

Your code uses a regular expression pattern that may be vulnerable to Regular Expression Denial of Service (ReDoS). This means certain inputs could cause the regex to take an excessive amount of time to process, leading to performance problems.

Impact#

If exploited, an attacker could send specially crafted input to your application, causing it to slow down or become unresponsive. This can result in denial of service, making your application unavailable to legitimate users and potentially impacting business operations.