CVE-2026-126011
Deferred Deferred - Pending Action

Stored XSS in NextGEN Gallery WordPress Plugin

Vulnerability report for CVE-2026-126011, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-21

Last updated on: 2026-11-21

Assigner: Wordfence

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-21
Last Modified
2026-11-21
Generated
2026-11-21
AI Q&A
2026-11-21
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery From 0 (inc) to 4.5.6 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a Stored Cross-Site Scripting (XSS) flaw in the NextGEN Gallery WordPress plugin. It allows unauthenticated attackers to inject malicious scripts via the 'comment' parameter due to insufficient input sanitization and output escaping. The scripts execute when users access infected pages.

Detection Guidance

Check WordPress plugin versions for NextGEN Gallery up to 4.5.6. Inspect comments for malicious scripts in the 'comment' parameter. Review admin settings for Thickbox lightbox with 'Try to apply to all images' enabled.

Impact Analysis

Attackers can steal user sessions, deface websites, or redirect visitors to malicious sites. Exploitation requires an admin to approve the attacker's initial comment and have Thickbox lightbox configured with 'Try to apply to all images'.

Compliance Impact

This vulnerability could lead to unauthorized data access or modification, violating GDPR (data protection) and HIPAA (health data privacy) by exposing user data or enabling script-based attacks on sensitive information.

Mitigation Strategies

Update NextGEN Gallery plugin to the latest version. Disable Thickbox lightbox with 'Try to apply to all images' setting. Review and approve comments manually. Remove suspicious comments with injected scripts.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-126011. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...