All reports
Medium

Inefficient Regular Expression Complexity in Validator.js

Affected versions

Affected versions
>= 11.1.0, < 13.7.0
Fixed version
13.7.0

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

Links

Credits

  • yetingli
  • G-Rath