ADVISORIES

GitHub Advisory Database

GHSA-8fgx-wgvr-pcx8

Zod jsVideoUrlParser vulnerable to ReDoS in util.js

Moderate No fix available CVE-2026-5986

Details

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

EcosystemPackageAffected versions
npmjs-video-url-parser
All versions up to and including 0.5.1

References