{"cve":"CVE-2022-25927","nvd":{"published":"2023-01-26T21:15:32.107","modified":"2026-06-17T04:34:30.237","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-1333"],"references":["https://github.com/faisalman/ua-parser-js/commit/a6140a17dd0300a35cfc9cff999545f267889411","https://security.snyk.io/vuln/SNYK-JS-UAPARSERJS-3244450","https://github.com/faisalman/ua-parser-js/commit/a6140a17dd0300a35cfc9cff999545f267889411","https://security.snyk.io/vuln/SNYK-JS-UAPARSERJS-3244450"],"products":["ua-parser-js_project:ua-parser-js"],"source":"nvd","synced_at":"2026-10-19T21:37:34.931465858+00:00"},"epss":{"cve":"CVE-2022-25927","score":0.01725,"percentile":0.77532,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-fhg7-m89q-25r3","url":"https://osv.dev/vulnerability/GHSA-fhg7-m89q-25r3","summary":"ReDoS Vulnerability in ua-parser-js version","modified":"2025-10-17T16:52:22Z","packages":[{"ecosystem":"npm","name":"ua-parser-js","purl":"pkg:npm/ua-parser-js","ranges":[">=0.7.30 <0.7.33"],"fixed":["0.7.33"]},{"ecosystem":"npm","name":"ua-parser-js","purl":"pkg:npm/ua-parser-js","ranges":[">=0.8.0 <1.0.33"],"fixed":["1.0.33"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}