CVE-2021-4229: ua-parser-js_project ua-parser-js Hidden Functionality
CVSS: 8.8v3.1HighModified
AliasesGHSA-pjwm-rvh2-c87w
Published 24-05-2022Last modified 15-04-2025
Vulnerability summary
CVE-2021-4229 is a high (CVSS 8.8) Hidden Functionality vulnerability in ua-parser-js_project ua-parser-js. EPSS estimates a 1.52% chance of exploitation in the next 30 days, higher than 74.1% of scored vulnerabilities.
CVSS score
8.8/10
010
High · v3.1 (NVD)EPSS score
1.52%
0%100%
Low · +0.10 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 24-05-2022PublishedVulnerability first disclosed.
- 15-04-2025Last modifiedVulnerability information updated.
Description
A vulnerability was found in ua-parser-js 0.7.29/0.8.0/1.0.0. It has been rated as critical. This issue affects the crypto mining component which introduces a backdoor. Upgrading to version 0.7.30, 0.8.1 and 1.0.1 is able to address this issue. It is recommended to upgrade the affected component.
CVSS metrics
4 scores · 3 sources · 2 versionsHigh 8.8Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HSources3 sources · 5.0–8.8
- CVE.orgCNA5.0MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:LDiffers
- OSV · NpmEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
High 7.6Preferred score · NVD (NIST)
AV:N/AC:H/Au:N/C:C/I:C/A:CSourcesSingle source
EPSS trend
Probability
1.52%
Chance of exploitation in the next 30 days
Percentile
74%
Versus all other CVEs
30-day change
+0.10 pp
From 1.42% on 19-09-2026
19-09-202619-10-2026
EPSS score1.52%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-912Hidden FunctionalityThe product contains functionality that is not documented, not part of the specification, and not accessible through an interface or command sequence that is obvious to the product's users or administrators.
- CWE-829Inclusion of Functionality from Untrusted Control SphereThe product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere.
Affected systems
Npm1 product
- ua-parser-js≥ 0.7.29, < 0.7.30 | ≥ 0.8.0, < 0.8.1 | ≥ 1.0.0, < 1.0.1
Ua-parser-js_project1 product
- ua-parser-js0.7.29 | 0.8.0 | 1.0.0
Unspecified1 product
- ua-parser-js0.7.29 | 0.8.0 | 1.0.0
3 vendors · 3 products
References
6 links- github.com/faisalman/ua-parser-js/issues/536X Refsource MISCWEBIssue TrackingPatchThird Party Advisory