CVE-2026-2479

Responsive Lightbox & Gallery <= 2.7.1 - Authenticated (Author+) Server-Side Request Forgery via Remote Library Image Upload

2026-02-24 20:06
lucsob

Strategic Overview

Status
Patched in 2.7.2
Affected Version
<= 2.7.1
CVSS
5.0Medium
Weakness type
CWE-918 · Server-Side Request Forgery (SSRF)
CVE
CVE-2026-2479
View all Responsive Lightbox & Gallery vulnerabilities

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

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C