CWE-185: Incorrect Regular Expression

ClassDraft

The product specifies a regular expression in a way that causes data to be improperly matched or compared.

View on MITRE
Back to CWE Lookup

Extended Description

When the regular expression is used in protection mechanisms such as filtering or validation, this may allow an attacker to bypass the intended restrictions on the incoming data.

Technical Details

Structure
Simple

Applicable To

Languages
Not Language-Specific
Platforms

Learn More