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.
https://github.com/faisalman/ua-parser-js/commit/a6140a17dd0300a35cfc9cff999545f267889411
https://www.securityweek.com/atlassian-patches-critical-vulnerabilities-in-confluence-crowd/
https://security.snyk.io/vuln/SNYK-JS-UAPARSERJS-3244450
Source: Mitre, NVD
Published: 2023-01-26
Updated: 2025-04-01
Base Score: 7.8
Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C
Severity: High
Base Score: 7.5
Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS: 0.00949