Vulnerability · Published Oct 31, 2026 · Assigned by Wordfence
CVE-2026-116563Photo Gallery, Sliders, Proofing and Themes <= 4.5.4 - Unauthenticated Stored DOM-Based Cross-Site Scripting via Comment `title` Attribute via Shutter Lightbox innerHTML
Medium 5.4
In plain English
A medium-severity cross-site scripting in Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery from smub. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 29% of all known vulnerabilities).
Official description
The Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 4.5.4 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. Exploitation requires the site to have Shutter or Shutter Reloaded selected as the active lightbox, and the injected comment must be approved through WordPress's standard moderation workflow before the payload is rendered to other visitors.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| smub | Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery | 0 – through 4.5.4 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/18dc9c01-c849-40c3-87ec-5eebc9660aff?source=cve
- https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.4/static/Lightbox/shutter/shutter.js#L197
- https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.4/static/Lightbox/shutter_reloaded/shutter.js#L247
- https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.4/static/Lightbox/shutter/shutter.js#L67
- https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.4/static/Lightbox/shutter_reloaded/shutter.js#L75
- https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.4/static/Lightbox/shutter/nextgen_shutter.js#L120
- https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.4/static/Lightbox/shutter_reloaded/nextgen_shutter_reloaded.js#L118
- https://plugins.trac.wordpress.org/changeset/3773860/nextgen-gallery/trunk/static/Lightbox/shutter/shutter.js