PT-2026-25994 · Avideo · Avideo

Danielnetodotcom

·

Published

2026-03-17

·

Updated

2026-03-20

·

CVE-2026-33035

CVSS v3.1

6.1

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions AVideo versions 25.0 and below
Description AVideo, an open source video platform, contains a reflected Cross-Site Scripting (XSS) issue. An unauthenticated attacker can execute arbitrary JavaScript in a victim's browser by manipulating a URL parameter. User input from a URL parameter is processed by PHP's json encode() function and then rendered within a JavaScript function using innerHTML, bypassing encoding and enabling full script execution. The root cause is the combination of unescaped user input passed to JavaScript and the use of innerHTML which renders HTML tags as executable DOM. The attack can potentially lead to session hijacking, account takeover, credential phishing through injected login forms, self-propagating payload distribution, and administrative account compromise. The vulnerability stems from the lack of proper input sanitization and insufficient cookie security, specifically the absence of the HttpOnly flag on the PHPSESSID cookie. The vulnerable code is located in view/videoNotFound.php and view/js/script.js.
Recommendations Versions prior to 26.0 should be updated. As a fix, escape HTML in PHP using JSON HEX TAG | JSON HEX AMP with json encode(). Alternatively, use textContent instead of innerHTML in the JavaScript code.

Exploit

Fix

XSS

Weakness Enumeration

Related Identifiers

CVE-2026-33035
GHSA-WFQ5-QGQP-HVHV

Affected Products

Avideo