CVE-2026-5986 Zod jsVideoUrlParser util.js getTime redos
Remote attackers can cause denial of service in the jsVideoUrlParser library via inefficient regular expressions in the getTime function.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-5986?
CVE-2026-5986 is a medium-severity denial of service vulnerability in Zod jsVideoUrlParser, published on 9 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
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.
Which versions are affected by CVE-2026-5986?
2 open source packages ship an affected version, including js-video-url-parser.
| Package | Affected | Fixed in |
|---|---|---|
js-video-url-parser npm | All versions to 0.5.1 | None |
js-video-url-parser npm | All versions to 0.5.1 | None |
How do I fix CVE-2026-5986?
No fix has been published for CVE-2026-5986 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2026-5986 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-5986 exists.
Sources
Also known as GHSA-8fgx-wgvr-pcx8.