npm package report

Is terser safe?

terser (npm) has 1 known vulnerability, the worst rated HIGH. Upgrade to 5.14.2 or later to clear it. No malicious-package signal is recorded.

// reach

5 direct dependencies

1 carry known advisories, worst HIGH

57 packages depend on it

an advisory here reaches each of them

Create a free accountfor every dependency path, dependent and what to upgrade
// ai model usage

Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


cvss
7.5
high

CVSS v3.1 base score out of 10

epss
3.3%
medium

chance of exploitation in 30 days, 89th percentile of all CVEs

xyz score
4.9
medium

CyberXYZ composite out of 10

fig. 01 — GHSA-4wf5-vphf-c2xc, the advisory selected below

// 1 advisories

The package terser before 4.8.1, from 5.0.0 and before 5.14.2 are vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure usage of regular…

Full advisory text at GitHub advisory or NVD.

// cvss v3.1 vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
// questions
Is terser safe to install?

CyberXYZ does not call a package safe in absolute terms. It records 1 known vulnerability for terser (npm), the worst rated HIGH, and no malicious-package signal. Whether it is acceptable depends on the version you run.

Does terser have known vulnerabilities?

Yes. CyberXYZ records 1 known vulnerability for terser (npm), the worst rated HIGH. They are GHSA-4wf5-vphf-c2xc.

Which version of terser should I use?

5.14.2 or later clears every advisory recorded for terser (npm). Check the release you pick before installing it.

How do I check terser before installing?

Search terser in CyberXYZ Check at https://cyberxyz.io/check?q=terser. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.


Checked 2026-11-14 at 09:46 UTC. The most recent advisory here was published 2022-07-16. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.