CVE-2026-135643
Video Gallery <= 1.1.7 - Unauthenticated SQL Injection via 'Client-IP' / 'X-Forwarded-For' Header
Description
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Weakness
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Video Gallery – Vimeo and YouTube Gallery |
affected up to and including 1.1.7
Other versions: unaffected
|
Is my server affected?
This CVE is in Video Gallery – Vimeo and YouTube Gallery of origincode, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Other references
- https://www.wordfence.com/threat-intel/vulnerabilities/id/50d69bfe-edd2-415f-a598-7e1d191c2a07?source=cve wordfence.com
- https://plugins.trac.wordpress.org/browser/smart-grid-gallery/tags/1.1.7/includes/functions/parameters.php#L408 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/smart-grid-gallery/tags/1.1.7/includes/view/class-ajax-call.php#L35 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/smart-grid-gallery/tags/1.1.7/includes/view/class-ajax-call.php#L623 plugins.trac.wordpress.org
Source: the record CVE-2026-135643 of the CVE List (CVE Program), CVE Terms of Use; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse