Stored Cross-Site Scripting in NextGEN Gallery Plugin for WordPress
CVE-2026-126011
7.2HIGH
Key Information:
- Vendor
WordPress
- Vendor
- CVE Published:
- 21 November 2026
What is CVE-2026-126011?
The NextGEN Gallery plugin for WordPress is susceptible to a Stored Cross-Site Scripting vulnerability due to inadequate validation of user input. This flaw allows unauthorized attackers to inject malicious scripts through the 'comment' parameter. The risk is heightened when the Thickbox lightbox effect is enabled with an option to apply it to all images, and requires an initial comment from the attacker to be approved by an administrator. Once approved, any subsequent comments from that user become automatically approved, enabling attackers to execute arbitrary scripts on the pages viewed by users.
Affected Version(s)
Photo Gallery, Sliders, Proofing and Themes β NextGEN Gallery 0 <= 4.5.6