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. The project was informed of the problem early through an issue report but has not responded yet.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | js-video-url-parser | <= 0.5.1 | no fix |
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://github.com/Zod-/jsVideoUrlParser
- https://vuldb.com/submit/791911
- https://vuldb.com/vuln/356540
- https://vuldb.com/vuln/356540/cti
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L- Weakness (CWE)
CWE-400- Platform
- npm
- Package
js-video-url-parser- Disclosed
- 10.04.2026
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-8fgx-wgvr-pcx8 - CC BY 4.0
Vulnerability history: js-video-url-parser
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.