/

CVE-2026-88869

Severity:

CRITICAL RISK

(9.3)

Stored XSS (CWE-79) in AVideo AD_Server Plugin Endpoint

CVE-2026-88869

Deferred

Vulnerability type

Category:

Stored Cross-Site Scripting

CWE:

CWE-79

Impact:

Arbitrary JavaScript Execution in an Administrator Context

Severity:

CRITICAL RISK

(9.3)

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

A critical stored cross-site scripting vulnerability in AVideo's AD_Server plugin allows unauthenticated attackers to submit HTML through the log.php label parameter. Because the value is stored and later rendered without adequate sanitization in the administrator's Ad Types report, arbitrary JavaScript may execute in an administrator's browser session.

Affected context

The vulnerability occurs in AVideo deployments using the AD_Server plugin and its log.php endpoint. It becomes risky when attacker-controlled label data is accepted without output encoding, stored for later use, and rendered in the administrative Ad Types report through an HTML-rendering sink such as jQuery .html(). The issue can affect administrators who view the contaminated report.

Exploit preconditions

  • Attack surface: The AD_Server plugin's log.php endpoint
  • Required access: No authentication is generally required to submit the attacker-controlled label value
  • Trigger point: An administrator views the Ad Types report containing the stored value
  • Why exploitation is possible: The label is stored without sufficient escaping and later inserted into the page as HTML, allowing browser script execution in the report viewer's security context

Why this happens

The underlying bug is a failure to establish a consistent trust boundary for user-controlled data. The application stores the label parameter without applying context-appropriate validation or encoding, then passes it to a client-side HTML insertion operation rather than treating it as text. This behavior maps to CWE-79: Improper Neutralization of Input During Web Page Generation, commonly known as cross-site scripting.

Potential impact

  • Arbitrary JavaScript may execute in an administrator's browser session
  • Administrative actions could be performed without the administrator's intent
  • Sensitive information available to the administrator may be exposed
  • Session or account compromise could occur depending on browser and application controls
  • Malicious content could be used to alter the appearance or behavior of administrative pages

General mitigation guidance

Mitigation generally focuses on treating all request parameters as untrusted and preserving their text semantics throughout storage and display.

Common defensive patterns include:

  • Applying context-appropriate output encoding when values are inserted into HTML
  • Using text-oriented DOM APIs and secure-by-default templating instead of raw HTML insertion
  • Validating stored fields against an appropriate allowlist where business requirements permit
  • Applying sanitization only when rich text is explicitly required, using a narrowly configured, well-maintained sanitizer
  • Enforcing protective browser policies such as an effective Content Security Policy
  • Limiting administrative privileges and reducing the sensitive actions available to browser sessions
  • Separating untrusted content from privileged administrative interfaces where practical

How teams detect issues like this

Detection can combine static analysis, code review, and runtime controls.

  • Search for request parameters that flow into storage and later reach HTML sinks such as jQuery .html(), innerHTML, or equivalent template operations.
  • Review whether output encoding is performed at the final rendering context rather than assumed to have occurred during input handling or storage.
  • Add static-analysis or automated code-review rules for untrusted data reaching HTML-rendering APIs without a recognized sanitizer or encoder.
  • Use policy checks to require safe DOM APIs, contextual encoding, and security review for administrative reports that display user-controlled values.
  • Test administrative views with benign marker data and verify that stored values are rendered as text rather than interpreted as markup.

Sources

SourceLink
github.comgithub.com/WWBN/AVideo/security/advisories/GHSA-h68w-3r38-wmm8
vulncheck.comvulncheck.com/advisories/avideo-ad-server-stored-xss-via-log-php-label-parameter

Frequently asked

questions

Yes. The described attack surface accepts the malicious value without requiring authentication, although execution occurs when an administrator later views the affected report.

The attacker generally needs network access to the exposed AD_Server plugin endpoint. Administrative access is not required to submit the label value, but an administrator must view the affected content for the stored script to execute.

Treat the label as untrusted text, validate it where appropriate, and apply context-specific output encoding or a safe text-rendering API when displaying it. Raw HTML insertion should not be used for untrusted values.

Use secure-by-default templates and DOM APIs, enforce consistent input and output handling, scan data flows into HTML sinks, apply browser security policies, and test privileged interfaces for stored cross-site scripting.

Find out what's already
exploitable in your codebase.