Read the docs
TI-2021-03090 Aliases CVE-2021-4229GHSA-pjwm-rvh2-c87w

ua-parser-js Crypto Mining backdoor

Priority MEDIUM 41CWE-912Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-829.

Summary

A vulnerability was found in ua-parser-js 0.7.29/0.8.0/1.0.0. It has been rated as critical. This issue affects the crypto mining component which introduces a backdoor. Upgrading to version 0.7.30, 0.8.1 and 1.0.1 is able to address this issue. It is recommended to upgrade the affected component.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01518 74th percentileScored 2026-11-07
Fix Fixed ua-parser-js (npm): 0.7.30, 0.8.1, 1.0.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
unspecifiedua-parser-js0.7.29; 0.8.0; 1.0.0—No fix listedCNA
—ua-parser-js (npm)0.7.29 to before 0.7.300.7.30Patch availableGHSA-pjwm-rvh2-c87w
—ua-parser-js (npm)0.8.0 to before 0.8.10.8.1Patch availableGHSA-pjwm-rvh2-c87w
—ua-parser-js (npm)1.0.0 to before 1.0.11.0.1Patch availableGHSA-pjwm-rvh2-c87w
  • ua-parser-js Vendorunspecified Affected 0.7.29; 0.8.0; 1.0.0 Fixed in — No fix listed CNA
  • ua-parser-js (npm) Vendor— Affected 0.7.29 to before 0.7.30 Fixed in 0.7.30 Patch available GHSA-pjwm-rvh2-c87w
  • ua-parser-js (npm) Vendor— Affected 0.8.0 to before 0.8.1 Fixed in 0.8.1 Patch available GHSA-pjwm-rvh2-c87w
  • ua-parser-js (npm) Vendor— Affected 1.0.0 to before 1.0.1 Fixed in 1.0.1 Patch available GHSA-pjwm-rvh2-c87w

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:ua-parser-js_project:ua-parser-js:0.7.29:*:*:*:*:node.js:*:*0.7.29VulnerableUa-parser-js Project
cpe:2.3:a:ua-parser-js_project:ua-parser-js:0.8.0:*:*:*:*:node.js:*:*0.8.0VulnerableUa-parser-js Project
cpe:2.3:a:ua-parser-js_project:ua-parser-js:1.0.0:*:*:*:*:node.js:*:*1.0.0VulnerableUa-parser-js Project
  • cpe:2.3:a:ua-parser-js_project:ua-parser-js:0.7.29:*:*:*:*:node.js:*:* Versions 0.7.29 Vulnerable ·Ua-parser-js Project
  • cpe:2.3:a:ua-parser-js_project:ua-parser-js:0.8.0:*:*:*:*:node.js:*:* Versions 0.8.0 Vulnerable ·Ua-parser-js Project
  • cpe:2.3:a:ua-parser-js_project:ua-parser-js:1.0.0:*:*:*:*:node.js:*:* Versions 1.0.0 Vulnerable ·Ua-parser-js Project

Remediation

  • Fix · GHSA-pjwm-rvh2-c87w ua-parser-js (npm) Fixed in 0.7.30 Advisory →
  • Fix · GHSA-pjwm-rvh2-c87w ua-parser-js (npm) Fixed in 0.8.1 Advisory →
  • Fix · GHSA-pjwm-rvh2-c87w ua-parser-js (npm) Fixed in 1.0.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-4229
  2. 2026-10-03 Alias added: GHSA-pjwm-rvh2-c87w

References

  • TI-2022-09474 Regular expression denial of service in ua-parser-js CVSS 3.1HIGH 7.5
  • TI-2026-35563 UAParser.js: Unbounded `Sec-CH-UA-Model` parsing can trigger ReDoS in `withClientHints()` CVSS 3.1MEDIUM 5.3
  • TI-2020-06309 Regular expression denial of service (ReDoS) in ua-parser-js CVSS 3.1HIGH 7.5
  • TI-2020-06251 Regular expression denial of service (ReDoS) in ua-parser-js CVSS 3.1HIGH 7.5
  • TI-2021-08826 ua-parser-js >= 0.7.14, fixed in 0.7.24, uses a regular expression which is vulnerable to… CVSS 3.1HIGH 7.5

Sources