freenode

← CVE tracker

CVE-2026-126011

Photo Gallery, Sliders, Proofing and Themes <= 4.5.6 - Unauthenticated Stored Cross-Site Scripting via Comment Link via Thickbox Lightbox 'all_images' Context

Severity
high CVSS 7.2 (v3.1)
Affects
Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery · smub
Weakness
CWE-79 Improper Neutralization of Input During Web Page Generation
Published
21 November 2026 by Wordfence
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.