0.003 Low
EPSS
Percentile
68.9%
trim-newlines is vulnerable to regular expression denial of service. The usage of an insecure regular expression in the .end() method allows an attacker to cause excessive resource consumption.
.end()
github.com/sindresorhus/trim-newlines/commit/25246c6ce5eea1c82d448998733a6302a4350d91
github.com/sindresorhus/trim-newlines/releases/tag/v4.0.1
security.netapp.com/advisory/ntap-20210702-0007/
www.npmjs.com/package/trim-newlines