Skip to content
OpenAdvisories
Medium · 5.3 GHSA-xx4c-jj58-r7x6

Inefficient Regular Expression Complexity in Validator.js

Published Nov 19, 2021 · Updated Jul 12, 2022 · Assigned by GHSA

Description

### Impact
Versions of `validator` prior to 13.7.0 are affected by an inefficient Regular Expression complexity when using the `rtrim` and `trim` sanitizers.

### Patches
The problem has been patched in validator 13.7.0

Affected packages

EcosystemPackageAffectedFixedRecord
npm validator >= 11.1.0, < 13.7.0 13.7.0 GHSA-xx4c-jj58-r7x6

References