Advisory

GHSA-8fgx-wgvr-pcx8

Also known as: CVE-2026-5986

Summary

Zod jsVideoUrlParser vulnerable to ReDoS in util.js

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-04-10 00:30 UTC
Modified
2026-04-10 20:56 UTC

Affected packages and fixes

js-video-url-parser

npm · All systems

Affected

  • introduced 0, last affected 0.5.1 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences