All-in-One Video Gallery – Video Player & Galleries for YouTube, Vimeo & Self-Hosted Videos <= 5.2.0 - Unauthenticated DOM-Based Cross-Site Scripting via HLS/DASH Stream Text Track Labels
- ID
- WPSEC-2026-4095
- 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.2.1
- Remediation
- Update to 5.2.1 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-27
- Attack surface
- All-in-One Video Gallery – Video Player & Galleries for YouTube, Vimeo & Self-Hosted Videos on WPSec AttackSurface
- Fix released
- Published
Description
The All-in-One Video Gallery plugin for WordPress is vulnerable to DOM-Based Cross-Site Scripting via the text track labels and languages of HLS/DASH streams in the Vidstack (Plyr) player in all versions up to, and including, 5.2.0. This is due to track names read from a remote playlist being passed to Plyr, which inserts them into its captions menu with innerHTML, without escaping. The stream URL can be supplied as the base64-encoded 'hls' or 'dash' query parameter of the plugin's player page, or stored in a video's HLS/DASH source. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute when a user follows a crafted link or views a video that points to an attacker-controlled playlist. Exploitation requires the Vidstack player to be selected in the plugin settings.
References
- https://wpsec.com/vuln/WPSEC-2026-4095/
- https://plugins.svn.wordpress.org/all-in-one-video-gallery/tags/5.2.1/
- https://wordpress.org/plugins/all-in-one-video-gallery/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS