CVE-2026-2479
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedThe 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 summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe Responsive Lightbox & Gallery WordPress plugin contains an SSRF vulnerability in the ajax_upload_image() function. The plugin uses strpos() to validate hostnames, which only checks for substring matches rather than performing strict hostname comparison. This allows authenticated attackers with Author-level or higher access to bypass validation and make the server perform requests to arbitrary internal or external URLs.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Confirm WordPress installationCheck for wp-load.php or wp-config.php in the web root directory, or access the site health/status pageAffected if WordPress is present and the plugin is installed
-
Identify Responsive Lightbox & Gallery pluginNavigate to Plugins > Installed Plugins in WordPress admin, or inspect /wp-content/plugins/ directory for responsive-lightbox folderAffected if The plugin is installed and active
-
Check installed plugin versionIn WordPress admin, go to Plugins > Installed Plugins and look at the version number next to Responsive Lightbox & Gallery, or read version.php in the plugin directoryAffected if Version is earlier than 2.7.2 (vulnerable); version 2.7.2 or later includes the fix
-
Verify user role access to ajax_upload_imageCheck WordPress user roles: go to Users > All Users and identify accounts with Author, Editor, or Administrator roles. The vulnerability affects Author-level and above.Affected if Any user with Author role or higher exists and the plugin is vulnerable
-
Inspect ajax_upload_image function for weak validationExamine the plugin source code in includes/ajax.php or similar file, looking for strpos() used on URL/hostname validation in ajax_upload_image() functionAffected if strpos() is used for hostname validation (substring check) rather than strict comparison like parse_url() with exact matching
User is affected if WordPress is running with Responsive Lightbox & Gallery plugin versions before 2.7.2 and any user with Author-level or higher access exists, since the ajax_upload_image function uses weak strpos()-based hostname validation.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpdate the plugin to version 2.7.2 or later which implements proper hostname validation using strict comparison (e.g., parse_url() with exact hostname matching or a whitelist approach). Until patched, limit user permissions for the affected functionality to Administrators only.
Upgrade to Responsive Lightbox & Gallery version 2.7.2 or later
- 1. Log in to the WordPress admin dashboard with an account having Administrator privileges
- 2. Navigate to Plugins > Installed Plugins
- 3. Locate the 'Responsive Lightbox & Gallery' plugin
- 4. Check the current installed version (visible in the plugin list)
- 5. If the installed version is 2.7.1 or earlier, click 'Update Now' to install the latest patched version
- 6. After update completes, verify the new version number in the plugin list
- 7. Test that the lightbox and gallery functionality works correctly with the new version
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,088.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-2479 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-2479 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data