Incorrect Regular Expression in UAParser.js - CVE-2022-25927
Published: March 23, 2023 / Updated: May 21, 2026
UAParser.js
Detailed vulnerability description
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to insufficient input validation passed via the trim() function. A remote attacker can pass specially crafted data to the application and perform regular expression denial of service (ReDos) attack.