Read the docs

Unauthenticated SQL injection in Video Gallery WordPress plugin

Priority MEDIUM 48CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
SQL injection
Confidentiality · integrity · availability
High · None · None
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-89.

Summary

The Video Gallery (Vimeo and YouTube Gallery) plugin for WordPress by origincode is affected in all versions up to and including 1.1.7. The plugin places the client IP header value (HTTP_CLIENT_IP, falling back to HTTP_X_FORWARDED_FOR) into an SQL query after insufficient escaping and without a prepared statement, which is SQL injection (CWE-89). An unauthenticated remote attacker can append SQL queries to existing ones and use time-based responses to extract sensitive information from the database.

Written with Claude Haiku 5.5 from the sources below · 2026-12-02

Description from the CNA

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.

Why it matters now

Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
origincodeVideo Gallery – Vimeo and YouTube Galleryup to 1.1.7—No fix listedCNA
  • Video Gallery – Vimeo and YouTube Gallery Vendororigincode Affected up to 1.1.7 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for Video Gallery (Vimeo and YouTube Gallery).

Written with Claude Haiku 5.5 from the sources below · 2026-12-02

Timeline

  1. 2026-12-02 Threatist record created from CVE-2026-135643
  2. 2026-12-02 Alias added: GHSA-cwm4-wf4p-f53p

References

  • TI-2025-21799 WordPress Product Catalog plugin <= 1.0.4 - SQL Injection vulnerability CVSS 3.1CRITICAL 9.3
  • TI-2025-30675 WordPress Video Gallery – Vimeo and YouTube Gallery plugin <= 1.1.7 - Cross Site Scripting (XSS) vulnerability CVSS 3.1MEDIUM 6.5
  • TI-2021-06802 Video Gallery - Vimeo and YouTube Gallery < 1.1.5 - Admin+ Stored Cross-Site Scripting CVSS 3.1MEDIUM 4.8
  • TI-2021-03241 WordPress Photo Gallery – Image Gallery <= 1.0.6 - Cross-Site Request Forgery Bypass CVSS 3.1MEDIUM 4.3

Sources