Photo Gallery, Sliders, Proofing and Themes <= 4.5.6 - Unauthenticated Stored Cross-Site Scripting via Comment Link via Thickbox Lightbox 'all_images' Context
Summary
| CVE | CVE-2026-126011 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-21 08:16:39 UTC |
| Updated | 2026-11-21 08:16:39 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.2 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
EPSS: 0.004240000 probability, percentile 0.374860000 (date 2026-11-22)
Problem Types: CWE-79 | CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.2 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 7.2 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Smub | Photo Gallery Sliders Proofing And Themes NextGEN Gallery | affected 4.5.6 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.6/src/Display/LightboxManage... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.6/static/Lightbox/lightbox_c... | [email protected] | plugins.trac.wordpress.org | |
| www.wordfence.com/threat-intel/vulnerabilities/id/58cdef33-0791-4c0a-975c-e20c5... | [email protected] | www.wordfence.com | |
| plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.6/static/Lightbox/thickbox/t... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/changeset | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/changeset/3807405/nextgen-gallery/trunk/static/Lightbox/thick... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.6/static/Lightbox/thickbox/t... | [email protected] | plugins.trac.wordpress.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Kuba (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-11-10T16:06:30.000Z | Vendor Notified |
| CNA | 2026-11-20T19:08:49.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.