Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/trim-newlines@4.0.0
purl pkg:npm/trim-newlines@4.0.0
Next non-vulnerable version 4.0.1
Latest non-vulnerable version 4.0.1
Risk 4.0
Vulnerabilities affecting this package (1)
Vulnerability Summary Fixed by
VCID-q2nz-yft3-bqb2
Aliases:
CVE-2021-33623
GHSA-7p7h-4mm5-852v
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.
4.0.1
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-16T21:25:26.268391+00:00 GitLab Importer Affected by VCID-q2nz-yft3-bqb2 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/trim-newlines/CVE-2021-33623.yml 38.4.0
2026-04-11T22:38:13.420863+00:00 GitLab Importer Affected by VCID-q2nz-yft3-bqb2 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/trim-newlines/CVE-2021-33623.yml 38.3.0
2026-04-02T22:48:54.796801+00:00 GitLab Importer Affected by VCID-q2nz-yft3-bqb2 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/trim-newlines/CVE-2021-33623.yml 38.1.0
2026-04-02T16:57:25.894139+00:00 GHSA Importer Affected by VCID-q2nz-yft3-bqb2 https://github.com/advisories/GHSA-7p7h-4mm5-852v 38.1.0
2026-04-01T17:06:46.735454+00:00 GitLab Importer Affected by 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.965349+00:00 GithubOSV Importer Affected by 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