Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/trim-newlines@4.0.1
purl pkg:npm/trim-newlines@4.0.1
Vulnerabilities affecting this package (0)
Vulnerability Summary Fixed by
This package is not known to be affected by vulnerabilities.
Vulnerabilities fixed by this package (1)
Vulnerability Summary Aliases
VCID-q2nz-yft3-bqb2 Uncontrolled Resource Consumption in trim-newlines @rkesters/gnuplot is an easy to use node module to draw charts using gnuplot and ps2pdf. 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. CVE-2021-33623
GHSA-7p7h-4mm5-852v

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-02T16:57:25.897466+00:00 GHSA Importer Fixing VCID-q2nz-yft3-bqb2 https://github.com/advisories/GHSA-7p7h-4mm5-852v 38.1.0
2026-04-02T12:38:56.832233+00:00 GitLab Importer Fixing VCID-q2nz-yft3-bqb2 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/trim-newlines/CVE-2021-33623.yml 38.0.0
2026-04-01T13:02:16.967636+00:00 GithubOSV Importer Fixing VCID-q2nz-yft3-bqb2 https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-7p7h-4mm5-852v/GHSA-7p7h-4mm5-852v.json 38.0.0