Join GitHub today
Vulnerable Regular Expression #501
The following regular expression used in the "o" formatter is vulnerable to ReDoS:
The slowdown is moderately low: for 50.000 characters around 2 seconds matching time. However, I would still suggest one of the following:
If needed, I can provide an actual example showing the slowdown.