The package ua-parser-js before 0.7.23 are vulnerable to Regular Expression Denial of Service (ReDoS) in multiple regexes (see linked commit for more info).
https://snyk.io/vuln/SNYK-JS-UAPARSERJS-1023599
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1050387
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBFAISALMAN-1050388
https://github.com/faisalman/ua-parser-js/commit/6d1f26df051ba681463ef109d36c9cf0f7e32b18
https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf