MEDIUM 6.1

CVE-2026-56347: AVideo TopMenu Plugin Stored XSS in Menu Rendering

AVideo's TopMenu plugin version 26.0 and earlier allows attackers to inject malicious code into menu items that will execute when site visitors view the page. The plugin fails to properly sanitize user-supplied text in menu configurations, enabling stored cross-site scripting attacks. Once injected, the malicious code runs in visitors' browsers, potentially compromising their session security or enabling unauthorized site modifications.

Source data · NVD / CISA · public domain

CVSS
3.1 · 6.1 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses (CWE)
CWE-79
Affected products
0 configuration(s)
Published / Modified
2026-06-20 / 2026-06-22

NVD description (verbatim)

AVideo TopMenu plugin through version 26.0 contains a stored cross-site scripting vulnerability in menu item rendering due to missing output encoding of icon classes, URLs, and text labels. Attackers can inject malicious JavaScript through unescaped menu item fields that execute for all site visitors, potentially stealing session cookies or performing unauthorized actions.

3 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

The TopMenu plugin contains a stored XSS flaw (CWE-79) stemming from missing output encoding when rendering menu item properties—specifically icon classes, URLs, and text labels. An attacker with the ability to create or modify menu items can inject unescaped JavaScript that persists in the application and executes in the DOM context of every user session that visits the page. The vulnerability affects all versions through 26.0 and is network-accessible with no authentication requirement for exploitation.

Business impact

Successful exploitation allows attackers to steal session cookies, redirect users to malicious sites, harvest credentials, or perform unauthorized administrative actions on behalf of legitimate visitors. For organizations running AVideo, this creates reputational risk (users' trust in site security) and potential data loss. If the site collects sensitive information from visitors, credential harvesting becomes an immediate concern. The stored nature of the vulnerability means remediation timelines directly correlate to exposure window.

Affected systems

AVideo TopMenu plugin versions through 26.0 are affected. The vulnerability requires the plugin to be installed and active on an AVideo instance. Exposure is limited to sites using this specific plugin; however, given TopMenu is a core navigation component, adoption is likely broad within the AVideo user base.

Exploitability

Exploitability is moderate. The attack requires network access and user interaction (site visitor must load a page containing the injected menu), but no special privileges are needed to inject the payload if the attacker can modify menu item configurations. This might require compromised admin credentials or an unauthenticated menu configuration endpoint, depending on plugin permissions model. Once injected, the payload executes passively for all visitors without additional user action beyond page load.

Remediation

Apply the latest available patch or upgrade to a version of TopMenu newer than 26.0 that addresses output encoding. Immediately upon patching, verify that stored malicious payloads are no longer rendered (they should be displayed as escaped text). As an interim mitigation, restrict who can create or edit menu items to trusted administrators, and audit existing menu configurations for suspicious JavaScript or unusual URLs. Content Security Policy (CSP) headers can also help limit XSS impact by restricting inline script execution.

Patch guidance

Verify the exact patch version available from the AVideo vendor advisory. Apply the update to TopMenu in your production environment during a maintenance window. After patching, perform a full menu configuration audit to identify and remove any injected payloads. Test page load and menu rendering in multiple browsers to ensure the fix does not break legitimate menu functionality. If running multiple AVideo instances, coordinate updates across all deployments.

Detection guidance

Hunt for suspicious entries in menu item configurations—look for JavaScript keywords (script, onclick, onerror, onload), event handlers, or unusual URL schemes (javascript:, data:) in icon classes, URLs, or labels. Monitor browser console errors on pages with TopMenu components for signs of XSS execution. Use web application firewalls to detect and block requests containing common XSS payloads destined for menu management endpoints. If available, enable detailed audit logging on menu create/update operations to track who modified menu items and when.

Why prioritize this

Although the CVSS score of 6.1 is MEDIUM, the stored nature of the vulnerability, broad user exposure via site visitors, and potential for session hijacking warrant prompt attention. Unlike reflected XSS, stored XSS affects every user automatically and persists until remediated. Organizations should prioritize patching within the next maintenance window. The lack of KEV designation does not reduce urgency—it reflects current threat activity visibility, not inherent risk.

Risk score, explained

CVSS 3.1 score of 6.1 (MEDIUM) reflects: network-accessible attack vector, low attack complexity, no privilege requirement, and user interaction needed (site must be visited). Impact is limited to confidentiality and integrity (session theft, unauthorized actions) with no availability impact. Contextually, the stored persistence and broad exposure to site visitors elevates practical risk above the base score; treat this as a high-priority patch candidate even though CVSS nominally rates it MEDIUM.

Frequently asked questions

Can this vulnerability be exploited without administrative access to the AVideo instance?

It depends on the plugin's permission model. If menu configuration is exposed via unauthenticated endpoints or if an attacker has compromised a low-privilege account with menu editing rights, then yes. Verify your TopMenu configuration to determine who can create or modify menu items—this controls the attack surface.

Will applying a Content Security Policy (CSP) prevent this vulnerability from being exploited?

CSP can significantly reduce impact by restricting inline script execution, but it is not a substitute for patching. A well-configured CSP with script-src restrictions will block inline event handlers and may prevent the payload from running, but the vulnerability itself remains unfixed. Use CSP as defense-in-depth while patching is underway.

How long should we expect the fix to take to implement in production?

Standard patch testing and deployment typically requires 1–2 weeks depending on your change management process. Prioritize this update in your next maintenance cycle, but do not rush into production without basic regression testing on a staging environment first. If you cannot patch immediately, implement the interim mitigations (restrict menu editing, audit configurations) in the meantime.

If we find injected malicious code in our menu items, does that mean our site was already compromised?

Injected menu payloads indicate that someone was able to modify menu configurations. This could mean compromised admin credentials, a breach of an unauthenticated menu endpoint, or supply chain compromise. Investigate how the injection occurred, reset any exposed credentials, audit access logs, and assess whether other parts of your system were compromised. Do not assume the injection is the only impact.

This analysis is provided for informational purposes and represents conditions as of the publication date. While we strive for accuracy, we do not guarantee completeness or the absence of errors. Patch version details should be verified against the official AVideo vendor advisory before deployment. Organizations should conduct their own risk assessment based on their specific environment, threat landscape, and business context. No explicit or implied warranty is offered regarding the effectiveness of recommended mitigations in all scenarios. Always test patches in a non-production environment first. Source: NVD (public-domain), retrieved 2026-07-29. Analysis generated by SEC.co (claude-haiku-4-5).