Versions of validator prior to 13.7.0 are affected by an inefficient Regular Expression complexity when using the rtrim and trim sanitizers.
validator
rtrim
trim
The problem has been patched in validator 13.7.0