Video Gallery – Vimeo and YouTube Gallery
Video Gallery <= 1.1.7 - Unauthenticated SQL Injection via 'Client-IP' / 'X-Forwarded-For' Header
CVE-2026-135643Published 2 Dec 2026, 03:27 UTC
Real-world risk
6.8/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.5
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from Wordfence)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Video Gallery – Vimeo and YouTube GalleryNiche | <= 1.1.7 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 1 × threat 0.856.800
- Rounded to one decimal between 0.1 and 106.8
Exploitation and evidence timeline
- 2 Dec 2026 Published
- 2 Dec 2026 Risk 6.8 (cvss fallback)
Weakness
CWE-89
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/50d69bfe-edd2-415f-a598-7e1d191c2a07?source=cve
- https://plugins.trac.wordpress.org/browser/smart-grid-gallery/tags/1.1.7/includes/functions/parameters.php#L408
- https://plugins.trac.wordpress.org/browser/smart-grid-gallery/tags/1.1.7/includes/view/class-ajax-call.php#L35
- CVE-2026-135643 on CVE.org