Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-109387: high-severity vulnerability (CVSS 7.2) in smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery.
What happened
Original description from the source: The Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'IPTC 2#120 (caption) / 2#005 (title) inside the image file' parameter in all versions up to, and including, 4.5.5 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This requires an authenticated user with image-edit permissions to import an attacker-supplied image file, which is the plugin's standard workflow for photographer uploads, client galleries, and contest submissions.
Why it matters
High severity, CVSS 7.2.
Affected products and versions
smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery <= 4.5.5
| Product | Versions | Fixed in |
|---|---|---|
| smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery | <= 4.5.5 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://www.wordfence.com/threat-intel/vulnerabilities/id/8726b508-475d-41cf-b366-83eb3f67c0ed?source=cve — CVE Program
- https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.2/static/Lightbox/shutter/shutter.js#L140 — CVE Program
- https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.2/src/Legacy/admin/functions.php#L382 — CVE Program
- https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.2/src/Legacy/lib/meta.php#L310 — CVE Program
- https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.2/src/Legacy/view/gallery.php#L55 — CVE Program
- https://plugins.trac.wordpress.org/changeset?reponame=&new=3793265%40nextgen-gallery&old=3773861%40nextgen-gallery — CVE Program
- https://plugins.trac.wordpress.org/changeset/3773860/nextgen-gallery/trunk/static/Lightbox/shutter/shutter.js — CVE Program
Weaknesses (CWE): CWE-79
Relevant change history
Published
Preliminary advisory published.