CVE-2022-25927: ua-parser-js_project ua-parser-js
CVSS: 7.5v3.1HighModified
AliasesUBUNTU-CVE-2022-25927DEBIAN-CVE-2022-25927GHSA-fhg7-m89q-25r3
Published 25-01-2023Last modified 01-04-2025
Vulnerability summary
CVE-2022-25927 is a high (CVSS 7.5) vulnerability in ua-parser-js_project ua-parser-js. EPSS estimates a 1.73% chance of exploitation in the next 30 days, higher than 77.1% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
7.5/10
010
High · v3.1 (NVD)EPSS score
1.73%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference
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 versionHigh 7.5Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HSources5 sources · 5.3–7.5
- 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.73%
Chance of exploitation in the next 30 days
Percentile
77%
Versus all other CVEs
30-day change
0.00 pp
From 1.73% on 19-09-2026
19-09-202619-10-2026
EPSS score1.73%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (security.snyk.io)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
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