CWE•Base•Draft•1 recent CVE
CWE-625Permissive Regular Expression
Description
The product uses a regular expression that does not sufficiently restrict the set of allowed values.
[object Object]
Common consequences
- Access Control→Bypass Protection Mechanism
Potential mitigations
- ImplementationWhen applicable, ensure that the regular expression marks beginning and ending string patterns, such as "/^string$/" for Perl.