CVE-2026-5986: Zod jsVideoUrlParser vulnerable to ReDoS in util.js
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.
Published Apr 10, 2026
Affected packages
js-video-url-parser
- Ecosystem
- npm
- Affected
- <= 0.5.1
- Fixed in
- No patched version yet
- Check
npm ls js-video-url-parser
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
- https://nvd.nist.gov/vuln/detail/CVE-2026-5986
- https://github.com/Zod-/jsVideoUrlParser/issues/121
- https://github.com/Zod-/jsVideoUrlParser/issues/121#issue-4159661957
- https://vuldb.com/submit/791911
- https://vuldb.com/vuln/356540
- https://vuldb.com/vuln/356540/cti
- https://github.com/advisories/GHSA-8fgx-wgvr-pcx8
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
