Description
The package ua-parser-js before 0.7.22 are vulnerable to Regular Expression Denial of Service (ReDoS) via the regex for Redmi Phones and Mi Pad Tablets UA.
Recommendation
Update the ua-parser-js package to the latest compatible version. Followings are version details:
- Affected version(s): < 0.7.22
- Patched version(s): 0.7.22
References
Related Issues
- ReDoS Vulnerability in ua-parser-js version - CVE-2022-25927
- Prototype Pollution in lodash (GHSA-4xc9-xhrj-v574) - CVE-2018-16487
- jquery-validation vulnerable to Cross-site Scripting - CVE-2025-3573
- @mozilla/readability Denial of Service through Regex - CVE-2025-2792
- Tags:
- npm
- ua-parser-js
Anything's wrong? Let us know Last updated on January 31, 2023