Video Gallery – YouTube Gallery, Playlist & Video Grid <= 4.1.2 - Unauthenticated Reflected Cross-Site Scripting via Form Action Attribute

Medium 6.1 CWE-79Fixed in 4.1.3
ID
WPSEC-2026-4562
Plugin
Video Gallery – YouTube Gallery, Playlist & Video Grid (youtube-showcase)
Affected
from 3.2.0 before 4.1.3
Remediation
Update to 4.1.3 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-12-03
Attack surface
Video Gallery – YouTube Gallery, Playlist & Video Grid on WPSec AttackSurface
Fix released
Published

Description

The Video Gallery – YouTube Gallery, Playlist & Video Grid plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the request URL reflected in the action attribute of front-end forms rendered by the plugin's form builder (such as the video search form) in all versions up to, and including, 4.1.2, due to the current request URI being passed through sanitize_url() (which does not encode single quotes) instead of being escaped with esc_url() before it is placed in a single-quoted HTML attribute. This makes it possible for unauthenticated attackers to inject arbitrary web scripts into pages that execute if they can successfully trick a user into performing an action such as clicking on a link.

References

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

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

License: CC BY 4.0