CVE-2026-135643: SQL Injection
Published 2026-12-02 · Updated 2026-12-05 · Source security@wordfence.com
Not known to be exploited · high severity — apply the vendor fix or mitigation in your next patch cycle.
What to do
- Check the references below for the vendor's patched release of the affected product and apply it.
- Until it is patched, do not leave the affected product reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Put WAF rules in front of the affected parameters, and make sure the application's database account holds only the privileges it needs.
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact on confidentiality is rated high.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | High | Total loss of confidentiality. |
| Integrity | None | No effect on integrity. |
| Availability | None | No effect on availability. |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness: SQL Injection
Attacker-controlled input changes the structure of a database query, which can expose, modify or delete data and sometimes leads to code execution on the database host.
Classified as CWE-89.
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.
Advisory text as published in the NVD record.
References
- Advisoryhttps://www.wordfence.com/threat-intel/vulnerabilities/id/50d69bfe-edd2-415f-a598-7e1d191c2a07?source=cve
- Referencehttps://plugins.trac.wordpress.org/browser/smart-grid-gallery/tags/1.1.7/includes/functions/parameters.php#L408
- Referencehttps://plugins.trac.wordpress.org/browser/smart-grid-gallery/tags/1.1.7/includes/view/class-ajax-call.php#L35
- Referencehttps://plugins.trac.wordpress.org/browser/smart-grid-gallery/tags/1.1.7/includes/view/class-ajax-call.php#L623