Zod jsVideoUrlParser vulnerable to ReDoS in util.js
Moderate severity
GitHub Reviewed
Published
Apr 10, 2026
to the GitHub Advisory Database
•
Updated Apr 10, 2026
Description
Published by the National Vulnerability Database
Apr 9, 2026
Published to the GitHub Advisory Database
Apr 10, 2026
Reviewed
Apr 10, 2026
Last updated
Apr 10, 2026
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.
References