PHP
CVE-2026-33499
MEDIUM
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | This vulnerability presents moderate-to-high real-world risk despite a CVSS score of 6.1 (Medium). The CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N correctly identifies the attack as network-based with low complexity and no privilege requirement, however the UI:R (User Interaction Required) reflects only the click-to-visit requirement—the actual JavaScript execution is automatic via autofocus+onfocus, requiring minimal user friction. The vulnerability is exposed on password-protected channel pages shown specifically to unauthenticated users, maximizing the attack surface. The availability of a public proof-of-concept, combined with the straightforward exploitation technique (parameter injection), indicates HIGH exploitability. EPSS data is not available in the provided intelligence, but the presence of a published GitHub advisory and clear POC suggests this is being tracked by threat intelligence platforms. The vulnerability's impact on confidentiality and integrity (C:L/I:L) is understated by CVSS—in practice, session hijacking via cookie theft or CSRF-based account modification could grant full administrative access. No httpOnly or Content-Security-Policy protections were observed. This should be prioritized as HIGH risk for any AVideo deployment exposed to untrusted networks. |
| Exploit ScenarioDerived | An attacker crafts a URL containing a malicious unlockPassword parameter: https://target.com/channel/someuser?unlockPassword=" autofocus onfocus="alert(document.cookie). The attacker distributes this link via phishing email or message to users. When a victim clicks the link, the browser loads the password-protected channel page, which displays the forbiddenPage template. The template reflects the attacker's payload into the HTML as <input value="" autofocus onfocus="alert(document.cookie)>, causing the browser to autofocus the input field and immediately trigger the onfocus event handler. The victim's JavaScript executes in the target domain context with full access to cookies (including PHPSESSID), local storage, and the ability to submit authenticated requests. The attacker can modify the payload to steal credentials, perform account takeover, or redirect to a phishing page, all without any visible indication of malicious activity beyond the initial click. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 20, 2026
AVideo contains a reflected cross-site scripting (XSS) vulnerability in the password unlock functionality where the unlockPassword request parameter is directly reflected into HTML input tag attributes without output encoding. The vulnerability affects AVideo (pkg:composer/wwbn_avideo) and can be exploited by any unauthenticated attacker to execute arbitrary JavaScript in the victim's browser with no user interaction beyond clicking a crafted link, potentially leading to session hijacking, account takeover, or credential theft. A proof-of-concept has been published and the vulnerability is documented in the official GitHub advisory.
RemediationAI
Apply output encoding to the reflected unlockPassword parameter by wrapping it with htmlspecialchars($value, ENT_QUOTES, 'UTF-8') in both view/forbiddenPage.php (line 33) and view/warningPage.php (line 32) before echoing into the HTML input tag. Alternatively, add 'unlockPassword' to the global $securityFilter array in objects/security.php to apply XSS filtering at the input layer, though explicit output encoding at the point of use is the more robust defense-in-depth approach. Upgrade to the patched version of AVideo when available by checking the GitHub Security Advisory GHSA-7292-w8qp-mhq2 for the specific release version. As a temporary workaround on unpatched systems, implement a Web Application Firewall rule to block requests containing special characters (quotes, angle brackets) in the unlockPassword parameter, or enforce Content-Security-Policy headers to prevent inline script execution. Monitor web server logs for unusual unlockPassword parameter values containing event handler attributes such as 'onfocus', 'autofocus', or quote characters.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in composer
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a classic reflected XSS (CWE-79) failure in the view layer of a PHP-based application. The affected component is the forbiddenPage() function in objects/functionsSecurity.php which passes unsanitized user input from $_REQUEST['unlockPassword'] to the getInputPassword() template function in objects/functions.php. This template function echoes the user-controlled attributes parameter directly into an HTML <input> tag without any encoding. The vulnerability bypasses the application's global input filtering mechanism because unlockPassword is not registered in the security filter arrays (securityFilter, securityFilterInt, etc.) defined in objects/security.php. While a server-side sanitization step was added for password comparison logic via preg_replace() in commit 3933d4abc, this did not address the client-side HTML reflection, leaving an output encoding gap. The affected product AVideo (identified by CPE pkg:composer/wwbn_avideo) is a PHP-based video platform built with Composer.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
DescriptionGitHub Advisory
Summary
The view/forbiddenPage.php and view/warningPage.php templates reflect the $_REQUEST['unlockPassword'] parameter directly into an HTML <input> tag's attributes without any output encoding or sanitization. An attacker can craft a URL that breaks out of the value attribute and injects arbitrary HTML attributes including JavaScript event handlers, achieving reflected XSS against any visitor who clicks the link.
Details
When a user visits a password-protected channel, view/channel.php:22 calls:
forbiddenPage('This channel is password protected', false, $channelPassword);The forbiddenPage() function in objects/functionsSecurity.php:520 checks whether the supplied password matches. If it doesn't (or no password was submitted), it includes view/forbiddenPage.php at line 561.
In view/forbiddenPage.php:31-35, the raw request parameter is reflected into HTML:
$value = '';
if (!empty($_REQUEST['unlockPassword'])) {
$value = $_REQUEST['unlockPassword']; // Line 33: unsanitized user input
}
echo getInputPassword('unlockPassword', 'class="form-control" value="' . $value . '"', __('Unlock Password'));The getInputPassword() function at objects/functions.php:4490 outputs the $attributes string directly into the <input> tag at line 4502:
<input id="<?php echo $id; ?>" name="<?php echo $id; ?>" type="password" placeholder="<?php echo $placeholder; ?>" <?php echo $attributes; ?>>The unlockPassword parameter is not listed in any of the security filter arrays defined in objects/security.php:4-8 ($securityFilter, $securityFilterInt, $securityRemoveSingleQuotes, $securityRemoveNonChars, $securityRemoveNonCharsStrict, $filterURL), so it passes through the global input sanitization completely unfiltered.
Commit 3933d4abc added sanitization only for the server-side password comparison in functionsSecurity.php:529 (preg_replace('/[^0-9a-z]/i', '', ...)), but did not address the client-side reflection in the view templates.
The identical vulnerability exists in view/warningPage.php:31-34.
PoC
Step 1: Identify a password-protected channel (or any page that triggers forbiddenPage() with an $unlockPassword).
Step 2: Craft a URL with a malicious unlockPassword parameter that breaks out of the value attribute:
https://target.com/channel/someuser?unlockPassword=" autofocus onfocus="alert(document.cookie)Step 3: The server renders the following HTML:
<input id="unlockPassword" name="unlockPassword" type="password"
placeholder="Unlock Password"
class="form-control" value="" autofocus onfocus="alert(document.cookie)">The autofocus attribute causes the browser to immediately focus the input element on page load, triggering the onfocus event handler which executes the attacker-controlled JavaScript. No further user interaction is required beyond clicking the link.
Step 4: The JavaScript executes in the context of the target domain, with access to cookies (no CSP or HttpOnly protections were observed), DOM, and the ability to make authenticated requests on behalf of the victim.
Impact
- Session hijacking: An attacker can steal
PHPSESSIDcookies and impersonate any user (including administrators) who clicks the crafted link. - Account takeover: The injected JavaScript can change the victim's email/password by submitting forms to the application's account settings endpoints.
- Phishing: The attacker can overlay fake login forms or redirect users to credential harvesting pages.
- No authentication required: The vulnerable page is specifically shown to unauthenticated/unauthorized users, making the attack surface broad.
Recommended Fix
Apply htmlspecialchars() output encoding to the reflected value in both view/forbiddenPage.php and view/warningPage.php:
view/forbiddenPage.php - change line 33:
// Before (vulnerable):
$value = $_REQUEST['unlockPassword'];
// After (fixed):
$value = htmlspecialchars($_REQUEST['unlockPassword'], ENT_QUOTES, 'UTF-8');view/warningPage.php - change line 32:
// Before (vulnerable):
$value = $_REQUEST['unlockPassword'];
// After (fixed):
$value = htmlspecialchars($_REQUEST['unlockPassword'], ENT_QUOTES, 'UTF-8');Alternatively, add 'unlockPassword' to the $securityFilter array in objects/security.php:4 to apply the global XSS filter, though explicit output encoding at the point of use is the more robust defense-in-depth approach.
Executive ViewAI
CVE-2026-33499 presents moderate security risk, a cross-site scripting vulnerability rated CVSS 6.1. Attackers could inject scripts to steal sessions or perform actions as authenticated users. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: implement CSP headers, enable HttpOnly cookies, deploy WAF XSS rules.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Affected Products (CPE)GitHub Advisory
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
GHSA-7292-w8qp-mhq2
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB