CVE-2022-25927

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

Published Jan 25, 2023 CVSS 3.1 · 5.3 Medium EPSS 1.8% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-0457 ReDoS Vulnerability in ua-parser-js version
Github GHSA Github GHSA GHSA-fhg7-m89q-25r3 ReDoS Vulnerability in ua-parser-js version
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Apr 1, 2025, 6:28 PM
Reserved
Feb 24, 2022, 11:58 AM
Status
Modified
Published
Jan 26, 2023, 9:15 PM
Modified
Jun 17, 2026, 4:34 AM
Severity
Moderate
Public date
Jan 22, 2023, 12:00 AM