Security mailing lists by PureSourceCode

CVE-2022-25927

HIGH 7.5CVSS 3.1

ReDoS Vulnerability in ua-parser-js version

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.

Published
26 Jan 2023
Last modified
17 Jun 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-1333CWE-400
Also known as
GHSA-fhg7-m89q-25r3
Sources
NVDJSONOSV GHSA-fhg7-m89q-25r3JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD report@snyk.io (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD ua-parser-js_project ua-parser-js
cpe:2.3:a:ua-parser-js_project:ua-parser-js:*:*:*:*:*:node.js:*:*
>= 0.7.30, < 0.7.33 0.7.33
NVD ua-parser-js_project ua-parser-js
cpe:2.3:a:ua-parser-js_project:ua-parser-js:*:*:*:*:*:node.js:*:*
>= 0.8.1, < 1.0.33 1.0.33
OSV npm ua-parser-js >= 0.7.30, < 0.7.33 0.7.33
OSV npm ua-parser-js >= 0.8.0, < 1.0.33 1.0.33

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 26 Jan 2023)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Jan 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.