The trim-newlines package before 3.0.1 and 4.x before 4.0.1 for Node.js has an issue related to regular expression denial-of-service (ReDoS) for the .end() method.
| Package (Ecosystem) | Introduced | Fixed | Limit |
|---|---|---|---|
| trim-newlines(npm) | 0 | 3.0.1 | N/A |
| trim-newlines(npm) | 4.0.0 | 4.0.1 | N/A |
CVSS Metrics