
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-2479 is a Server-Side Request Forgery (SSRF) vulnerability in the Responsive Lightbox & Gallery plugin for WordPress, affecting all versions up to and including 2.7.1. The flaw exists in the ajax_upload_image() function, which uses strpos() for substring-based hostname validation instead of strict host comparison, allowing authenticated attackers to make arbitrary web requests from the server. It was published on February 25, 2026, and carries a CVSS v3.1 base score of 5.0 (Medium) (Wordfence, Red Hat CVE).
The root cause is improper hostname validation (CWE-918: Server-Side Request Forgery) in the ajax_upload_image() function within includes/class-remote-library.php. The plugin uses PHP's strpos() to check whether a trusted hostname appears anywhere in the supplied URL string, rather than performing a strict comparison of the URL's host component — a classic SSRF bypass technique where an attacker can craft a URL such as https://trusted-host.example.com.attacker.com/ to pass validation. Exploitation requires an authenticated session with at least Author-level privileges, and the attacker sends a crafted AJAX request to trigger the vulnerable function (Wordfence, Plugin Source).
Successful exploitation allows an authenticated attacker to cause the WordPress server to issue HTTP requests to arbitrary internal or external locations, potentially exposing sensitive data from internal services such as cloud metadata endpoints (e.g., AWS IMDSv1), internal APIs, or other network-adjacent resources not directly accessible from the internet. The vulnerability has a changed scope in its CVSS rating, indicating that impact extends beyond the vulnerable component itself. Confidentiality is partially impacted through information disclosure from internal services, while integrity and availability are not directly affected (Wordfence, Red Hat CVE).
No public exploit code or active in-the-wild exploitation has been reported for CVE-2026-2479 as of the available data. The EPSS score is approximately 0.028% (0.000280), indicating a low probability of exploitation in the near term. Exploitation requires at minimum Author-level authentication on the target WordPress site, which limits the attack surface compared to unauthenticated vulnerabilities. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (Wordfence).
wp-content/plugins/responsive-lightbox/readme.txt./wp-admin/admin-ajax.php) targeting the ajax_upload_image() action, supplying a URL that embeds a trusted hostname as a substring (e.g., https://trusted-domain.com.attacker-controlled.com/malicious-path) to bypass the strpos() hostname check.http://169.254.169.254/latest/meta-data/ (AWS metadata), internal admin panels, or other services accessible from the web server./wp-admin/admin-ajax.php with SSRF-indicative URL parameters containing internal hostnames or cloud metadata endpoints; unusual response sizes from the AJAX endpoint.ajax_upload_image() or class-remote-library.php with unexpected URL values.Users should update the Responsive Lightbox & Gallery plugin to version 2.7.2 or later, which addresses the SSRF vulnerability by replacing the strpos()-based hostname check with strict host comparison in the ajax_upload_image() function (Plugin Changeset). As a temporary workaround, site administrators can restrict Author-level user permissions or disable the remote image upload functionality if not required. Additionally, deploying a Web Application Firewall (WAF) rule to block SSRF-indicative patterns in AJAX requests can reduce exposure while patching is pending (Wordfence).
The vulnerability was reported and disclosed by Wordfence, which serves as the CNA for this CVE. Coverage has been limited to standard vulnerability aggregation platforms and security databases, with no notable researcher commentary or significant social media discussion identified beyond automated CVE tracking posts (Wordfence).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."