All-in-One Video Gallery <= 4.9.7 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'embedcode' Post Meta

Medium 6.4 CWE-79Fixed in 5.0.0
ID
WPSEC-2026-1495
Plugin
All-in-One Video Gallery – Video Player & Galleries for YouTube, Vimeo & Self-Hosted Videos (all-in-one-video-gallery)
Affected
all versions before 5.0.0
Remediation
Update to 5.0.0 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-10-23
Attack surface
All-in-One Video Gallery on WPSec AttackSurface
Fix released
Published

Description

The All-in-One Video Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'embedcode' and 'trailer_src' post meta in all versions up to, and including, 4.9.7. The cause is that these meta values were sanitized only by the plugin's own video editor form and were not registered with a sanitize callback. Values written another way, such as through XML-RPC custom fields, were stored unfiltered and later printed as raw HTML by the player. Because the plugin grants subscribers the capability to create and edit their own videos, this makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0