Vulnerability · Published Apr 9, 2026 · Assigned by VulDB
CVE-2026-5986Zod jsVideoUrlParser util.js getTime redos
Medium 5.3
In plain English
A medium-severity regular-expression denial of service in jsVideoUrlParser from Zod. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities).
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | js-video-url-parser | no fix listed | GHSA-8fgx-wgvr-pcx8 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Zod | jsVideoUrlParser | 0.5.00.5.1 |
Weakness: CWE-1333, CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R
References
- VDB-356540 | Zod jsVideoUrlParser util.js getTime redos vdb-entry, technical-description
- VDB-356540 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- Submit #791911 | Zod- jsVideoUrlParser 0.1.3 to 0.5.1 Inefficient Regular Expression Complexity third-party-advisory
- https://github.com/Zod-/jsVideoUrlParser/issues/121 issue-tracking
- https://github.com/Zod-/jsVideoUrlParser/issues/121#issue-4159661957 exploit, issue-tracking