Skip to content
OpenAdvisories
Medium · 5.4 CVE-2026-41061 EUVD-2026-24539GHSA-8pv3-29pp-pf8f

WWBN AVideo Vulnerable to stored XSS via Unanchored Duration Regex in Video Encoder Receiver

Published Apr 21, 2026 · Updated Apr 22, 2026 · Assigned by GitHub_M

Description

WWBN AVideo is an open source video platform. In versions 29.0 and below, the `isValidDuration()` regex at `objects/video.php:918` uses `/^[0-9]{1,2}:[0-9]{1,2}:[0-9]{1,2}/` without a `$` end anchor, allowing arbitrary HTML/JavaScript to be appended after a valid duration prefix. The crafted duration is stored in the database and rendered without HTML escaping via `echo Video::getCleanDuration()` on trending pages, playlist pages, and video gallery thumbnails, resulting in stored cross-site scripting. Commit bcba324644df8b4ed1f891462455f1cd26822a45 contains a fix.

Affected products

VendorProductAffectedFixed
WWBN AVideo <= 29.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist wwbn/avideo <= 29.0 — GHSA-8pv3-29pp-pf8f

References