What it is
The product uses a regular expression to perform neutralization, but the regular expression omits one or more anchors that may allow malicious or malformed data to slip through.
Impact on systems
| Scope | Impact |
|---|---|
| Availability, Confidentiality, Access Control | Bypass Protection Mechanism, Varies by Context An unanchored regular expression in the context of an allowlist will possibly result in a protection mechanism failure. Malicious or malformed data may be included before or after any string matching the regular expression, allowing the data to enter trusted regions of the program. The type of malicious data that is allowed will depend on the context of the application and which anchors are omitted from the regular expression. The specific consequences will depend on what functionality the allowlist was protecting. |
How to prevent it
Source: MITRE CWE catalog · Official entry on the MITRE website