← News

NextGEN Gallery plugin: stored cross-site scripting

HighAI-generated2026-11-27

CVE
CVE-2026-126011
Severity
High (CVSS 7.2)
Attack conditions
Remotely, over the network · No account needed · No user action needed
Exploitation probability (EPSS)
0.4% (within 30 days; FIRST EPSS, 28 November 2026)

Summary

The NextGEN Gallery plugin for WordPress versions up to 4.5.6 allow stored cross-site scripting. Unauthenticated attackers can inject web scripts that run when users view affected pages.

Details

According to the NVD record, the NextGEN Gallery plugin for WordPress is vulnerable to stored cross-site scripting in all versions up to and including 4.5.6. The flaw stems from insufficient sanitization of the 'comment' parameter and inadequate escaping of output. Exploitation requires the site to use the Thickbox lightbox effect with the "Try to apply to all images" setting, and an administrator must approve the initial comment so that later comments from the same author are auto-approved.

An attacker can inject arbitrary web scripts into comments. When a user visits a page containing the malicious comment, the script runs in the user's browser, potentially stealing data or performing actions on behalf of the user.

What to do

The source record does not name a specific patch, fixed version or workaround. General measures:

  • Follow the vendor's security advisories.
  • Apply the update when it is released.
  • Limit access to the product as much as possible, especially from the internet.

Sources

Timeline

  • 21 November 2026 NVD record published
  • 27 November 2026 This article was written