CVE-2026-135643 PUBLISHED

Video Gallery <= 1.1.7 - Unauthenticated SQL Injection via 'Client-IP' / 'X-Forwarded-For' Header

Assigner: Wordfence
Reserved: 23.11.2026 Published: 02.12.2026 Updated: 02.12.2026

The Video Gallery – Vimeo and YouTube Gallery plugin for WordPress is vulnerable to time-based SQL Injection via the 'HTTP_CLIENT_IP (fallback HTTP_X_FORWARDED_FOR)' parameter in all versions up to, and including, 1.1.7 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. The vulnerable INSERT branch is only reached when the supplied IP address and video ID combination has not been previously recorded; an attacker can trivially satisfy this condition by supplying a novel header value.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS Score: 7.5

Product Status

Vendor origincode
Product Video Gallery – Vimeo and YouTube Gallery
Versions Default: unaffected
  • affected from 0 to 1.1.7 (incl.)

Credits

  • Nader finder

References

Problem Types

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command CWE