CVE-2022-25927: ua-parser-js - Denial of Service
- Cve: CVE-2022-25927
- Name: ua-parser-js - Denial of Service
- 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.
- Impact: Attackers can cause denial of service by triggering excessive resource consumption via crafted input.
- Remediation: Update to version 0.7.33, 1.0.33 or later.
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.01774
- Epss percentile: 0.7877
- Assignee: [email protected]
- Published at: 2023-01-26T21:15:32Z
- Age in days: 1398
- Modified at: 2026-06-17T04:34:30Z
- Patch available: yes
- Public exploits total: 3
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-25927
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: vulnerability type, requirements
Cwe
| Id | Name |
|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity |
Hackerone
- Reports: 13
- Rank: 2075
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://security.snyk.io/vuln/SNYK-JS-UAPARSERJS-3244450 | nvd | 2023-01-26 |
| https://github.com/Sleuth-in-town/CVE-2022-25927-test | poc-in-github | 2026-03-28 |
| https://github.com/masahiro331/cve-2022-25927 | poc-in-github | 2023-02-01 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/faisalman/ua-parser-js/commit/a6140a17dd0300a35cfc9cff999545f267889411 | nvd | Patch, Third Party Advisory |
| https://security.snyk.io/vuln/SNYK-JS-UAPARSERJS-3244450 | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| ua-parser-js_project:ua-parser-js | >= 0.8.1, < 1.0.33; >= 0.7.30, < 0.7.33 | no | nvd | /v1/products/ua-parser-js_project/ua-parser-js |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| faisalman/ua-parser-js | commit, package, security_advisory | yes | /v1/repositories/faisalman/ua-parser-js |
Index
- Repositories: 108
- Repositories high signal: 43
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 3
- Public exploit first date: 2023-01-26
- Remote: yes
- Hackerone reports: 13
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, exposed hosts