Skip to main content
HIGH

CVE-2022-25927

CVSS v3

7.5

HIGH

EPSS Score

1.7 %

exploit probability, as of 2026-10-19

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for ua-parser-js.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • ua-parser-jsnpmfrom 0.8.0 · fixed in 1.0.33

Vendor advisories

  • CVE-2022-25927 Red Hat Product Security1 product fixed · 15 known affected

    ua-parser-js: ReDoS vulnerability via the trim() function

    servicemesh-grafana as a component of OpenShift Service Mesh 2.1 · servicemesh-grafana.src as a component of OpenShift Service Mesh 2.1 · grafana as a component of Red Hat Ceph Storage 3

  • RHSA-2023:1428 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Migration Toolkit for Containers (MTC) 1.7.8 security and bug fix update

Full record on NVD

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.

Technical details

Published
2023-01-26

Frequently asked questions

What is 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.

Is CVE-2022-25927 actively exploited?

Active exploitation of CVE-2022-25927 has not been confirmed. Its EPSS score was 1.7% on 2026-10-19, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-25927?

CVE-2022-25927 has a CVSS v3 base score of 7.5 (HIGH severity).

Running ua-parser-js? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month