/

CVE-2026-130648

Severity:

HIGH RISK

(8.7)

Stored Cross-Site Scripting (CWE-79) in AVideo Embed Player

CVE-2026-130648

Deferred

Vulnerability type

Category:

Stored Cross-Site Scripting

CWE:

CWE-79

Impact:

Stored client-side script execution, potentially enabling unauthorized actions as affected viewers

Severity:

HIGH RISK

(8.7)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

WWBN AVideo has a stored cross-site scripting vulnerability in its embedded-video handling: a user with upload permission can submit a javascript: URL that is later rendered as an iframe source. When viewers, including administrators, view the affected content, the script may execute in their browser and could be used to perform actions such as creating administrator accounts.

Affected context

The issue is reported in WWBN AVideo 6.5 and occurs in the handling of embed-video links. The URL is rendered into an iframe source in videoEmbeded.php and PlayerSkins.php without adequate validation or restriction of the scheme. Risk depends on an attacker having upload permission and viewers opening the affected content.

Exploit preconditions

  • Attack surface: Embed-video submission and rendering in the AVideo web application
  • Required access: Permission to upload or submit embed videos
  • Trigger point: A viewer loads a page that renders the submitted video link in an iframe
  • Why exploitation is possible: The URL scheme is not sufficiently validated before the value is used as an iframe source, allowing script execution in the viewer's browser

Why this happens

The application treats a user-controlled embed URL as safe for an iframe source without adequately validating its scheme. Allowing a javascript: URL in this context can cause script to run when the content is rendered. This is a stored cross-site scripting flaw mapped to CWE-79, where untrusted input is included in a page without context-appropriate validation or output handling.

Potential impact

  • Script execution in the browser of users who view the affected content
  • Unauthorized actions performed in the context of a viewer's session
  • Administrator account creation or other administrative changes, if the affected viewer has sufficient privileges
  • Further compromise of application data or user accounts, depending on the privileges and protections in place

General mitigation guidance

Defensive approaches generally focus on controlling URL trust and safely rendering user-provided content:

  • Allow only explicitly approved URL schemes and destinations for embed links
  • Validate URLs against a strict, documented policy before storing or rendering them
  • Use context-appropriate output handling and safe embedding patterns
  • Apply browser security controls, such as a restrictive Content Security Policy, as defense in depth
  • Limit upload permissions and ensure privileged accounts use additional protections

How teams detect issues like this

  • Use static analysis to identify user-controlled values flowing into iframe src attributes without scheme validation
  • Review embed-video handlers, templates, and player components for unsafe rendering of stored URLs
  • Add automated tests that verify disallowed URL schemes are rejected or rendered inert
  • Enforce URL-scheme allowlists through application policies and code-review checks
  • Monitor for suspicious embed links and unexpected administrative account creation

Sources

SourceLink
github.comgithub.com/WWBN/AVideo/security/advisories/GHSA-vq8m-9xp3-76fg

Frequently asked

questions

A user needs permission to submit or upload embed-video content. The vulnerable content must then be viewed for the stored script to run.

No, but administrator viewing can increase the consequences because actions may occur with that viewer's privileges.

Accept only approved URL schemes and validate embed URLs before storing or rendering them. Use safe output handling for iframe attributes.

Treat submitted URLs as untrusted, enforce a strict scheme allowlist, test rendering paths for script injection, and use browser security policies as defense in depth.

Find out what's already
exploitable in your codebase.