CVE-2026-116563
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 WordPress components
-
Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery Plugin · nextgen-galleryUp to and including 4.5.4View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery — Up to and including 4.5.4
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.4/static/Lightbox/shutter/nextgen_shutter.js#L120
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.4/static/Lightbox/shutter/shutter.js#L197
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.4/static/Lightbox/shutter/shutter.js#L67
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.4/static/Lightbox/shutter_reloaded/nextgen_shutter_reloaded.js#L118
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.4/static/Lightbox/shutter_reloaded/shutter.js#L247
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.4/static/Lightbox/shutter_reloaded/shutter.js#L75
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3773860/nextgen-gallery/trunk/static/Lightbox/shutter/shutter.js
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/18dc9c01-c849-40c3-87ec-5eebc9660aff?source=cve
- nvd.nist.gov Official NVD record