trim-newlines@1.0.0 vulnerabilities

Trim newlines from the start and/or end of a string

Direct Vulnerabilities

Known vulnerabilities in the trim-newlines package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Denial of Service (DoS)

trim-newlines is a Trim newlines from the start and/or end of a string

Affected versions of this package are vulnerable to Denial of Service (DoS) via the end() method.

How to fix Denial of Service (DoS)?

Upgrade trim-newlines to version 3.0.1, 4.0.1 or higher.

<3.0.1 >=4.0.0 <4.0.1