Responsive Lightbox & Gallery <= 2.7.1 - Authenticated (Author+) Server-Side Request Forgery via Remote Library Image Upload
Strategic Overview
- Status
- Patched in 2.7.2
- Affected Plugin
- Responsive Lightbox & Gallery
- Affected Version
<= 2.7.1- CVSS
- 5.0Medium
- Weakness type
- CWE-918 · Server-Side Request Forgery (SSRF)
- CVE
CVE-2026-2479
At a glance
CVE-2026-2479 is a medium-severity Server-Side Request Forgery (SSRF) vulnerability in the Responsive Lightbox & Gallery WordPress plugin, affecting versions <= 2.7.1. It carries a CVSS score of 5.0 (reachable over the network; low attack complexity). Exploitation requires an authenticated account at Author level or above. The issue is fixed in version 2.7.2; sites on affected versions should update now. Disclosed February 2026, reported by lucsob.
Vulnerability Overview
The Responsive Lightbox & Gallery plugin for WordPress is vulnerable to Server-Side Request Forgery in all versions up to, and including, 2.7.1. This is due to the use of `strpos()` for substring-based hostname validation instead of strict host comparison in the `ajax_upload_image()` function. This makes it possible for authenticated attackers, with Author-level access and above, to make web requests to arbitrary locations originating from the web application, which can be used to query and modify information from internal services.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user.
CWE-918: Server-Side Request Forgery (SSRF)
Responsive Lightbox & Gallery <= 2.7.1 carries this weakness at strpos(), and reaching it takes an account at Author level or above. Server-side request forgery means the application fetches a URL supplied by the caller, turning the server into a proxy for requests the attacker could not make directly.
The request originates from inside the hosting network, which is how these flaws reach cloud metadata endpoints, internal admin panels and services that trust local traffic. For Responsive Lightbox & Gallery the fix is 2.7.2: builds <= 2.7.1 are affected, anything from 2.7.2 onward is not.
Remediation
Update to version 2.7.2, or a newer patched version
How does WordSec protect against this?
An attacker needs Author access first, so the firewall sees the attempt as traffic from a logged-in account: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: Responsive Lightbox & Gallery 2.7.2 closes this, and updating the plugin is the step that ends it.
- Firewall
- Alerts
External References
Related records
Same weakness class
Other vulnerabilities in Responsive Lightbox & Gallery
- 7.2CVE-2026-56041: Responsive Lightbox & Gallery <= 2.7.6 Stored XSS
CVE-2026-56041 - 7.2CVE-2025-15386: Responsive Lightbox & Gallery < 2.6.1 Stored XSS
CVE-2025-15386 - 7.2CVE-2025-9710: Responsive Lightbox & Gallery <= 2.5.2 Stored XSS
CVE-2025-9710 - 6.4CVE-2025-5093: Responsive Lightbox & Gallery <= 2.5.1 Stored XSS
CVE-2025-5093 - 6.4CVE-2025-3742: Responsive Lightbox & Gallery <= 2.5.0 Stored XSS
CVE-2025-3742 - 6.4CVE-2024-5667: Multiple Plugins <= Stored DOM-Based XSS
CVE-2024-5667 - 6.4CVE-2024-5020: Multiple Plugins <= Stored DOM-Based XSS
CVE-2024-5020 - 6.4CVE-2024-49282: Responsive Lightbox <= 2.4.8 Stored XSS
CVE-2024-49282
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C