Live threats

All CVEs / Trim-off-newlines Project

CVE-2021-23425Trim-off-newlines Project Trim-off-newlines

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
1.9%
probability of exploitation in 30 days · percentile 81
Auth required
No
Published
Aug 18, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

What happens

All versions of package trim-off-newlines are vulnerable to Regular Expression Denial of Service (ReDoS) via string processing.

Original NVD text.

What to do

  1. Apply the vendor's security update for Trim-off-newlines.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm trim-off-newlines < 1.0.3 1.0.3 npm install trim-off-newlines@1.0.3

Per OSV / GitHub Advisories (GHSA-38fc-wpqx-33j7). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
trim-off-newlines_projecttrim-off-newlines< 1.0.3

Official sources

References

Links published by the sources. Open them with care.