Description
A weakness has been identified in Zod jsVideoUrlParser up to 0.5.1. The impacted element is the function getTime in the library lib/util.js. This manipulation of the argument timestamp causes inefficient regular expression complexity. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
Problem types
Inefficient Regular Expression Complexity
Product status
0.5.1
Timeline
| 2026-04-09: | Advisory disclosed |
| 2026-04-09: | VulDB entry created |
| 2026-04-09: | VulDB entry last update |
Credits
ybdesire (VulDB User)
VulDB CNA Team
References
vuldb.com/vuln/356540 (VDB-356540 | Zod jsVideoUrlParser util.js getTime redos)
vuldb.com/vuln/356540/cti (VDB-356540 | CTI Indicators (IOB, IOC, TTP, IOA))
vuldb.com/submit/791911 (Submit #791911 | Zod- jsVideoUrlParser 0.1.3 to 0.5.1 Inefficient Regular Expression Complexity)
github.com/Zod-/jsVideoUrlParser/issues/121
github.com/Zod-/jsVideoUrlParser/issues/121