CVE-2022-25927

published 25 Jan 2023 · updated 18 Feb 2026

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 Denial of Service (ReDoS) via the trim() function.

5.3MediumCVSS 5.3EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 0.7.33 and 1.0.33.

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 Denial of Service (ReDoS) via the trim() function.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
>=0.7.30 <0.7.33, >=0.8.1 <1.0.330.7.33, 1.0.33

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-25927 severity on Zeptric[![CVE-2022-25927](https://zeptric.io/badge/cve/CVE-2022-25927.svg)](https://zeptric.io/cve/CVE-2022-25927)