Elevated
NextGEN Gallery WordPress plugin stored XSS via comments
CVE-2026-126011
Visitors can plant malicious scripts through comments on WordPress photo galleries.
- CVE
- CVE-2026-126011 (opens in a new tab)
- Score
- CVSS 7.2
- First seen
Mitigation
No source names a fixed version yet. Check that the plugin runs a version newer than 4.5.6, and read the vendor's advisory.
Summary
A flaw lets an unauthenticated visitor plant malicious scripts through comments. Versions up to and including 4.5.6 are affected, but only if the administrator set the Thickbox effect to all images and approved the attacker's first comment.
Affected when
- Thickbox lightbox effect set to 'Try to apply to all images'
- Administrator approves the attacker's first comment so later comments are auto-approved
- Version 4.5.6 or earlier
2 other Incidents of this product in the last 30 days
Incidents by product: Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery
Other recent Incidents of Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery
Read the CVE record · cve.org (opens in a new tab)
- CVE record: cve.org (opens in a new tab)