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
CVSS5.0Medium
CVECVE-2026-2479
View all Responsive Lightbox & Gallery vulnerabilities

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

REMEDIATION: Update to version 2.7.2, or a newer patched version --- IDENTIFIER: CWE-918 (Server-Side Request Forgery (SSRF)) The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.

External References

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