CVE-2026-41061
WWBN AVideo Vulnerable to stored XSS via Unanchored Duration Regex in Video Encoder Receiver
MEDIUM 5.4EPSS 0.2%
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
- WWBN · AVideo
- CVSS v3.1 GITHUB
- 5.4 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - EPSS
- 0.25% chance of exploitation in the next 30 days, 15th percentile
- Published
- 2026-04-21
- Updated
- 2026-04-22
Proof-of-concept exploits (1)
Security advisories
- WWBN/AVideo/security/advisories/GHSA-8pv3-29pp-pf8f
- WWBN/AVideo/commit/bcba324644df8b4ed1f891462455f1cd26822a45