Inefficient regular expression complexity in UAParser.js - CVE-2026-48125
Published: May 21, 2026
UAParser.js
Detailed vulnerability description
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to inefficient regular expression complexity in withClientHints() when parsing a crafted Sec-CH-UA-Model header. A remote attacker can send a specially crafted request to cause a denial of service.
Only server-side applications that call UAParser(headers).withClientHints() are vulnerable.