Regular Expression Denial of Service (ReDoS) in trim-newlines package for Node.js

Regular Expression Denial of Service (ReDoS) in trim-newlines package for Node.js

CVE-2021-33623 · HIGH Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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.

Learn more about our Web Application Penetration Testing UK.