CVE-2026-126011
7.2, highSmub Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery Cross-Site Scripting Vulnerability
- CVSS
- 7.2, high high CVSS v3.1
- EPSS, next 30 days
- 0.4% higher than 37.4% of scored CVEs
- Exploitation
- No public evidence
- Published
- 21 Nov 2026yesterday
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.6 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 the site administrator to have configured the Thickbox lightbox effect with the "Try to apply to all images" context (thumbEffectContext=all_images), and exploitation additionally depends on an administrator approving the attacker's initial comment so that subsequent comments from that author are auto-approved.
Details
- Vendor
- Smub
- Product
- Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery
- Weakness
- CWE-79 (opens in a new tab)
- Status
- Deferred
- Updated
- 21 Nov 2026
- Assigner
- security@wordfence.com
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
References 7
Other references 7
- plugins.trac.wordpress.org /browser/nextgen-gallery/tags/4.5.6/src/Display/LightboxManager.php#L319 (opens in a new tab)
- plugins.trac.wordpress.org /browser/nextgen-gallery/tags/4.5.6/static/Lightbox/lightbox_context.js#L6 (opens in a new tab)
- plugins.trac.wordpress.org /browser/nextgen-gallery/tags/4.5.6/static/Lightbox/thickbox/thickbox.js#L35 (opens in a new tab)
- plugins.trac.wordpress.org /browser/nextgen-gallery/tags/4.5.6/static/Lightbox/thickbox/thickbox.js#L496 (opens in a new tab)
- plugins.trac.wordpress.org /changeset/3807405/nextgen-gallery/trunk/static/Lightbox/thickbox/thickbox.js (opens in a new tab)
- plugins.trac.wordpress.org /changeset?reponame=&new=3807407%40nextgen-gallery&old=3793265%40nextgen-gallery (opens in a new tab)
- wordfence.com /threat-intel/vulnerabilities/id/58cdef33-0791-4c0a-975c-e20c50ceb159?source=cve (opens in a new tab)
The kind is read from NVD's tags where present and from the shape of the URL otherwise, so treat it as a hint.
Other Smub CVEs
Every Smub CVE we holdSame vendor in what we hold, not a known link between the flaws.
- CVE-2026-120538 Smub Easy Digital Downloads - eCommerce Payments and Subscriptions made easy Improper Authentication Vulnerability EPSS 0.4% 8.1, high
- CVE-2026-76010 Smub Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery Unrestricted Upload of File with Dangerous Type Vulnerability EPSS 0.8% 8.8, high
- CVE-2026-82814 Smub Duplicator - Backups & Migration Plugin - Cloud Backups, Scheduled Backups, & More Deserialization of Untrusted Data Vulnerability EPSS 0.7% 8.8, high
Beyond this page
Is CVE-2026-126011 in your network?
This page tells you how dangerous CVE-2026-126011 is out there. Whether it sits on one of your devices, only a scan of your own network can tell. That is what our systems do, every day, for the companies we protect.
-
EXYS7600 OCELOT
Find it before attackers do
Ocelot scans your network on a schedule and reports every vulnerability it finds by its CVE identifier, with its CVSS score and how many of your hosts are affected. A finding like CVE-2026-126011 comes with the devices to patch.
Learn more about EXYS7600 OCELOT -
EXYS7950 KONDRA
Detect it if it's exploited
Until the patch is applied, Kondra monitors your network, events and endpoints in real time. It keeps an inventory of the software installed on every endpoint, and its anomaly detection rules flag what an attacker does once inside.
Learn more about EXYS7950 KONDRA
Assembled from the NVD 2.0 API, the CISA Known Exploited Vulnerabilities Catalog and FIRST EPSS. Scores are as of our last collection on 22 Nov 2026, not the live upstream state.