CVE-2026-116550
JSON

7.2high

Photo Gallery, Sliders, Proofing and Themes <= 4.5.5 - Unauthenticated Stored Cross-Site Scripting via Comment Content via Smilie-to-Lightbox Caption

Severity
7.2high CVSS:3.1 by Wordfence
Exploit likelihood
0.53% (higher than 46% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Wordfence

Description

The Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' 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. Exploitation requires the plugin's "What must the lightbox be applied to?" setting (thumbEffectContext) to be configured as "Try to apply to all images" or "Try to apply to all images that link to image files," which is not the shipping default, and also requires the attacker's comment to reach a publicly rendered state.

Affected

Product or packageVersionsReported by
smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Galleryup to 4.5.5CVE List

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

https://www.wordfence.com/threat-intel/vulnerabilities/id/e75bee39-3c8a-47cc-9045-3eb25ef0d517?source=cve
https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.4/static/Lightbox/simplelightbox/simple-lightbox.js#L1693
https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.4/static/Lightbox/simplelightbox/nextgen_simple_lightbox_init.js#L301
https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.4/static/Lightbox/lightbox_context.js#L7
https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.4/static/Lightbox/simplelightbox/simple-lightbox.js#L900
https://plugins.trac.wordpress.org/changeset?reponame=&new=3793265%40nextgen-gallery&old=3773861%40nextgen-gallery
https://plugins.trac.wordpress.org/changeset/3793263/nextgen-gallery/trunk/static/Lightbox/simplelightbox/simple-lightbox.js

Sources

SourceRecordLicence
CVE ListCVE-2026-116550 changed 2026-11-20CVE Terms of Use
NVDCVE-2026-116550 changed 2026-11-20Public domain