CVE-2022-25927: ua-parser-js_project ua-parser-js
Vulnerability summary
CVE-2022-25927 is a high (CVSS 7.5) vulnerability in ua-parser-js_project ua-parser-js. EPSS estimates a 1.84% chance of exploitation in the next 30 days, higher than 79.7% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 25-01-2023PublishedVulnerability first disclosed.
- 01-04-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 5 sources · 1 version- CVE.orgCNA5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:PDiffers
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · NpmEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.84%
Chance of exploitation in the next 30 days
Percentile
80%
Versus all other CVEs
30-day change
Increase +0.07 pp
From 1.77% on 05-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (security.snyk.io)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- node-ua-parser-js< 0.8.1+ds+~0.7.36-3
Npm1 product
- ua-parser-js≥ 0.7.30, < 0.7.33 | ≥ 0.8.0, < 1.0.33
Ua-parser-js_project1 product
- ua-parser-js≥ 0.7.30, < 0.7.33 | ≥ 0.8.1, < 1.0.33
Ubuntu1 product
- node-ua-parser-jsAll versions (No fix recorded)
4 vendors · 4 products
References
8 links- github.com/faisalman/ua-parser-js/commit/a6140a17dd0300a35cfc9cff999545f267889411REPORTWEBPatchThird Party Advisory