Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/trim-newlines@2.0.0
purl pkg:npm/trim-newlines@2.0.0
Next non-vulnerable version 3.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.
3.0.1
Affected by 0 other vulnerabilities.
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.262031+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.413345+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.790197+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-01T17:06:46.727554+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