Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
📦
📦 npm
Not in CISA KEV
HIGH severity

CVE-2020-7793 — ua-parser-js

HIGHFix: faisalman/ua-parser-js@6d1f26d

CVE-2020-7793 is a high-severity (CVSS 7.5) vulnerability in ua-parser-js. 3 public exploit references exist, so weaponization risk is real. A fix is available for ua-parser-js — see the affected versions and patch details below.

ua-parser-js Regular Expression Denial of Service vulnerability

Also known asGHSA-394c-5j6w-4xmx
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
3 known
Exploitation data as of Oct 1, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
3.9%probability of exploitation in next 30 days
Lower Risk+0.05%
Lower risk than most CVEs90th percentile — riskier than 90% of all scored CVEsHighest risk
2.14%2.90%3.66%4.42%2.6%3.9%Apr 26Jul 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2020-7793 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 385,987 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

1 pkg affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

3Kother npm packages depend on this — each one inherits the vulnerability until it's patched upstream
ua-parser-jsnpm
38.3Mdownloads / week

Description

The package ua-parser-js before 0.7.23 are vulnerable to Regular Expression Denial of Service (ReDoS) in multiple regexes (see linked commit for more info).

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
📦npmua-parser-jsall versions0.7.23npm install ua-parser-js@0.7.23

Affected Products

2 products · 4 configurations
Application
sinec inssiemens
< 1.0
1 version
1.0
Application
ua-parser-jsua-parser-js_project
< 0.7.23
range
Exploits & PoCs
3

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for ua-parser-js, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update ua-parser-js to 0.7.23 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-7793 is resolved across your whole dependency graph.

  3. Workarounds

    Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.

Frequently Asked Questions

The package ua-parser-js before 0.7.23 are vulnerable to Regular Expression Denial of Service (ReDoS) in multiple regexes (see linked commit for more info).
O3 Security · Impact-Aware SCA

Is CVE-2020-7793 in your dependencies?

Find it across npm, including transitive dependencies.

CVE-2020-7793: ua-parser-js DoS — Fixed in 0.7.23