CVE-2025-12359

Responsive Lightbox & Gallery <= 2.5.3 - Authenticated (Author+) Server-Side Request Forgery

2025-11-18 17:10
Dmitrii Ignatyev

Strategic Overview

Status
Patched in 2.5.4
Affected Version
<= 2.5.3
CVSS
5.4Medium
Weakness type
CWE-918 · Server-Side Request Forgery (SSRF)
CVE
CVE-2025-12359
View all Responsive Lightbox & Gallery vulnerabilities

At a glance

CVE-2025-12359 is a medium-severity Server-Side Request Forgery (SSRF) vulnerability in the Responsive Lightbox & Gallery WordPress plugin, affecting versions <= 2.5.3. It carries a CVSS score of 5.4 (reachable over the network; low attack complexity). Exploitation requires an authenticated account at Author level or above. The issue is fixed in version 2.5.4; sites on affected versions should update now. Disclosed November 2025, reported by Dmitrii Ignatyev.

Vulnerability Overview

The Responsive Lightbox & Gallery plugin for WordPress is vulnerable to Server-Side Request Forgery in all versions up to, and including, 2.5.3 via the 'get_image_size_by_url' function. This is due to insufficient validation of user-supplied URLs when determining image dimensions for gallery items. 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.5.3 carries this weakness at get_image_size_by_url, 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.5.4: builds <= 2.5.3 are affected, anything from 2.5.4 onward is not.

Remediation

Update to version 2.5.4, 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.5.4 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