# ua-parser-js (npm) vulnerabilities

6 known vulnerabilities (2 high, 3 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://www.npmjs.com/package/ua-parser-js

## Advisories (6)

### [CVE-2026-48125](https://cve.now/CVE-2026-48125): UAParser.js: Unbounded \`Sec-CH-UA-Model\` parsing can trigger ReDoS in \`withClientHints()\`

- Severity: Medium 5.3
- Published: Jul 14, 2026
- Affected: from 2.0.1, fixed in 2.0.10.

### [CVE-2022-25927](https://cve.now/CVE-2022-25927): Versions of the package ua-parser-js from 0.7.30 and before 0.7.33, from 0.8.1 and before 1.0.33 are vulnerable to Regular Expression…

- Severity: Medium 5.3
- Published: Jan 25, 2023
- Affected: from 0.7.30, fixed in 0.7.33; from 0.8.0, fixed in 1.0.33.

### [CVE-2021-4229](https://cve.now/CVE-2021-4229): ua-parser-js Crypto Mining backdoor

- Severity: Medium 5.0
- Published: May 24, 2022
- Affected: from 0.7.29, fixed in 0.7.30; from 0.8.0, fixed in 0.8.1; from 1.0.0, fixed in 1.0.1.

### [CVE-2021-27292](https://cve.now/CVE-2021-27292): ua-parser-js \>= 0.7.14, fixed in 0.7.24, uses a regular expression which is vulnerable to denial of service.

- Severity: Unrated
- Published: Mar 17, 2021
- Affected: from 0.7.14, fixed in 0.7.24.

### [CVE-2020-7793](https://cve.now/CVE-2020-7793): Regular Expression Denial of Service (ReDoS)

- Severity: High 7.5
- Published: Dec 11, 2020
- Affected: fixed in 0.7.23.

### [CVE-2020-7733](https://cve.now/CVE-2020-7733): Regular Expression Denial of Service (ReDoS)

- Severity: High 7.5
- Published: Sep 16, 2020
- Affected: fixed in 0.7.22.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/npm/ua-parser-js
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
