CVE-2026-126011 — smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery
Research article
WordPress NextGEN Gallery Plugin Vulnerable to Stored XSS via Comment Parameter
| CVE | CVE-2026-126011 |
|---|---|
| Vendor and product | smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery |
| Published | November 24, 2026 09:10 UTC |
| Research cut-off | November 24, 2026 08:10 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-11-23); CISA KEV catalog; FIRST EPSS (2026-11-23) |
Executive summary
The WordPress NextGEN Gallery plugin is impacted by a Stored Cross-Site Scripting (XSS) flaw because of inadequate sanitization of input and lack of proper escaping for the 'comment' parameter [1]. The CVSS 3.1 score is 7.2 HIGH, scored by security@wordfence.com [1]. The vulnerability impacts versions up to and including 4.5.6 [1], and the reviewed sources do not report exploitation [2]. The sources do not list a fixed version, so the sources do not establish an upgrade path [1].
Key points
- The WordPress NextGEN Gallery plugin is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter [1].
- The CVSS 3.1 score is 7.2 HIGH, scored by security@wordfence.com [1].
- The vulnerability affects versions up to and including 4.5.6 [1].
- The reviewed sources do not report exploitation [2].
- The EPSS score is 0.0042 (0.42%) with a percentile of 0.3747 [3].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 3.1 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2026-126011 | smub | Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery | CWE-79 | 7.2 HIGH, scored by security@wordfence.com | 2026-11-21T08:16:39 | 2026-11-23T17:17:30 | Deferred |
Vulnerability description
A Stored XSS vulnerability is present in the WordPress NextGEN Gallery plugin as a result of inadequate sanitization of input and lack of proper escaping for the 'comment' parameter. This enables unauthenticated attackers to insert malicious web scripts into web pages, which will run when any user visits a page that has been compromised [1]. The vulnerability is only active on websites where the Thickbox lightbox feature is set to apply to all images (thumbEffectContext=allimages), and it also needs an administrator to approve the attacker's first comment in order for future comments from that user to be automatically approved [1].
Attack surface and exploitation prerequisites
The CVSS vector indicates that the vulnerability requires network access (AV:N), no privileges (PR:N), and no user interaction (UI:N). It affects confidentiality (C:L), integrity (I:L), and availability (A:N). This vulnerability affects sites that have the Thickbox lightbox enabled along with the 'Apply to all images' option, and where the administrator has accepted the attacker's initial comment [1].
Impact analysis
The CVSS vector shows that the vulnerability has a low impact on confidentiality (C:L), low impact on integrity (I:L), and no impact on availability (A:N). The report indicates that unauthenticated attackers can insert malicious web scripts into web pages, which will execute when any user visits a compromised page [1].
Affected products and versions
| Affected Product | Fixed Version |
|---|---|
| smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery | not listed |
The vulnerability affects all versions up to and including 4.5.6 [1]. No fixed version is listed in the sources [1].
Exploitation and threat intelligence status
The reviewed sources do not report exploitation [2]. The EPSS score for this CVE is 0.0042 (0.42%) with a percentile of 0.3747, indicating a low estimated probability of exploitation activity in the next 30 days [3].
Detection and exposure assessment
Readers can determine if they are exposed by checking if their installed version of the WordPress NextGEN Gallery plugin is within the affected range (≤ 4.5.6) [1]. No detection steps are provided by the sources [1].
Remediation
The sources do not list a fixed version [1]. No mitigation steps are provided by the sources [1].
Remediation checklist
- Check if the installed version of the WordPress NextGEN Gallery plugin is within the affected range (≤ 4.5.6) [1].
- - Check the plugin's vendor channels for a fixed version; the sources do not list one [1].
- Review the site configuration to ensure the Thickbox lightbox effect is not set to 'Try to apply to all images' (thumbEffectContext=allimages) [1].
- Monitor for any signs of unauthorized comment submissions or script injections.
Evidence gaps
- The sources do not describe the affected component's internals.
- The sources do not explain the root cause of the vulnerability beyond the CWE-79 classification.
- The sources do not describe how the flaw works in technical mechanics.
- The sources do not describe any exploitation scenarios or attack lifecycle.
- The sources do not mention any indicators of compromise.
- The sources do not provide a workaround or compensating control.
References
- CVE-2026-126011 record. NIST National Vulnerability Database (NVD), 2026-11-23. https://nvd.nist.gov/vuln/detail/CVE-2026-126011. Accessed 2026-11-24.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-24. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-24.
- EPSS score for CVE-2026-126011. FIRST, 2026-11-23. https://api.first.org/data/v1/epss?cve=CVE-2026-126011. Accessed 2026-11-24.
Summary
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.
Severity breakdown
High · 7.2
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- no
- Scope
- reaches beyond the vulnerable component (e.g. from a sandbox or VM to the host)
- Impact
- low on confidentiality and integrity, none on availability
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery | ≤ 4.5.6 | — |
References by type
Other references
- plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.6/src/Displ…
- plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.6/static/Li…
- plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.6/static/Li…
- plugins.trac.wordpress.org/changeset/3807405/nextgen-gallery/trunk/stat…
- plugins.trac.wordpress.org/changeset
- wordfence.com/threat-intel/vulnerabilities/id/58cdef33-0791-4c0a-975c-e…
Affected
- smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery
Frequently asked questions
What is CVE-2026-126011?
The WordPress NextGEN Gallery plugin is impacted by a Stored Cross-Site Scripting (XSS) flaw because of inadequate sanitization of input and lack of proper escaping for the 'comment' parameter. The CVSS 3.1 score is 7.2 HIGH, scored by security@wordfence.com. The vulnerability impacts versions up to and including 4.5.6, and the reviewed sources do not report exploitation. Weakness type: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CWE-79).
How severe is CVE-2026-126011?
CVE-2026-126011 has a CVSS 3.1 base score of 7.2 (high), from the CNA (wordfence.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-126011 being exploited?
Not as far as is known: CVE-2026-126011 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.4% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-126011?
smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery ≤ 4.5.6.
How do I fix CVE-2026-126011?
Check if the installed version of the WordPress NextGEN Gallery plugin is within the affected range (≤ 4.5.6). - Check the plugin's vendor channels for a fixed version; the sources do not list one. Review the site configuration to ensure the Thickbox lightbox effect is not set to 'Try to apply to all images' (thumbEffectContext=allimages).
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-134955 — tychesoftwares Product Input Fields for WooCommerce
- CVE-2026-97345 — SumUp Payment Gateway For WooCommerce
- CVE-2026-85412 — hassantafreshi Easy Form Builder by WhiteStudio – Drag & Drop Form Builder
- CVE-2026-85416 — yonifre Lenix Leads Collector
- CVE-2026-92251 — zarinpal افزونه پرداخت امن زرینپال برای ووکامرس (ZarinPal for WooCommerce)