Inefficient Regular Expression Complexity in Validator.js
Moderate severity
GitHub Reviewed
Published
Nov 7, 2021
in
validatorjs/validator.js
•
Updated Jan 11, 2023
Description
Reviewed
Nov 8, 2021
Published to the GitHub Advisory Database
Nov 19, 2021
Last updated
Jan 11, 2023
Impact
Versions of
validator
prior to 13.7.0 are affected by an inefficient Regular Expression complexity when using thertrim
andtrim
sanitizers.Patches
The problem has been patched in validator 13.7.0
References