ADVISORIES

Vulnerability

CVE-2022-25927

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.

3 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Debian 1Ubuntu 1npm 1

Advisories in npm

  • GHSA-fhg7-m89q-25r3

    ReDoS Vulnerability in ua-parser-js version

    High CVE-2022-25927 npm Updated 17 October 2025

References