CVE-2026-135643
HIGH 7.5CVSS 3.1Video Gallery <= 1.1.7 - Unauthenticated SQL Injection via 'Client-IP' / 'X-Forwarded-For' Header
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.
- Published
- 2 Dec 2026
- Last modified
- 2 Dec 2026
- Assigned by
- security@wordfence.com
- NVD status
- Deferred
- Weakness
- CWE-89
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@wordfence.com (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CVE List | Wordfence | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | origincode | Video Gallery – Vimeo and YouTube Gallery | <= 1.1.7 |
References
- 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
- https://plugins.trac.wordpress.org/browser/smart-grid-gallery/tags/1.1.7/includes/view/class-ajax-call.php#L623
- https://www.wordfence.com/threat-intel/vulnerabilities/id/50d69bfe-edd2-415f-a598-7e1d191c2a07?source=cve
History
- 2 Dec 2026 04:20 UTC · NVD: first stored (published 2 Dec 2026)
- 2 Dec 2026 03:52 UTC · CVE List: first stored (published 2 Dec 2026)