Skip to main content

NextGEN Gallery EUVDEUVD-2026-132030

| CVE-2026-126011 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-11-21 Wordfence GHSA-mrm6-w4r7-73xh
7.2
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit crafted comment as anonymous user
  2. Delivery
    Administrator approves attacker's initial comment
  3. Exploit
    Post auto-approved comment with script payload
  4. Execution
    Payload stored and rendered via Thickbox lightbox
  5. Impact
    Execute arbitrary JavaScript in visitor's browser

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires two specific, non-default conditions both named in the description: (1) the site administrator must have configured the Thickbox lightbox effect with the 'Try to apply to all images' context (thumbEffectContext=all_images); and (2) an administrator must approve the attacker's initial comment, which causes subsequent comments from that same author to be auto-approved and thus stored without moderation. The attacker is unauthenticated per PR:N in the supplied vector. The limiting factors - a non-default lightbox configuration plus a human administrator approving the attacker's first comment - meaningfully constrain real-world exploitability despite the network, no-privilege vector; sites using default lightbox settings or strict comment moderation are not exposed.

Impact

The input assigns a CVSS 3.1 base score of 7.2 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N), driven largely by the Scope-Changed flag typical of XSS (attacker script runs in a victim's browser context) combined with network vector and no required privileges. However, the real-world risk is materially lower than the 7.2 implies because exploitation is gated by two non-attacker-controlled preconditions stated in the description: the administrator must have enabled the Thickbox lightbox with 'Try to apply to all images' (thumbEffectContext=all_images), a non-default configuration, AND an administrator must first approve the attacker's initial comment so that subsequent comments from that author are auto-approved. These conditions mean the AC:L in the supplied vector understates the true complexity. No CISA KEV listing is present (no confirmed active exploitation), no EPSS score was supplied, and the references contain only the Wordfence advisory and WordPress trac source/changeset links - none is verified as working exploit code, so this is not a confirmed public exploit. The vuln.today Decision label is 'this_week' (not act_now/emergency), consistent with a credible, patch-worthy stored XSS that is not an active-exploitation emergency. Net: a genuine stored XSS worth patching, but a conditional, configuration-dependent issue rather than a drop-everything priority.

Exploit ScenarioDerived

An unauthenticated attacker submits a comment on a NextGEN Gallery image and, once an administrator approves that first comment, posts a follow-up comment (now auto-approved) containing a malicious script in the 'comment' parameter. On a site where the Thickbox lightbox is configured to apply to all images, the stored payload renders unescaped and executes arbitrary JavaScript in the browser of any visitor who views the affected gallery page. No verified public exploit code was identified in the provided sources; the references are the Wordfence advisory and plugin source/changeset links.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 21, 2026

Stored cross-site scripting in the WordPress plugin NextGEN Gallery (Photo Gallery, Sliders, Proofing and Themes) affects all versions up to and including 4.5.6: the 'comment' parameter is neither sanitised on input nor escaped on output, so an unauthenticated visitor can plant script that runs in a victim's browser when the injected page is viewed. Two gating conditions sharply limit real-world exposure - the administrator must have set the Thickbox lightbox effect to the 'Try to apply to all images' context (thumbEffectContext=all_images), and an administrator must first approve the attacker's initial comment so that later comments from that same author bypass moderation. No public exploit code and no confirmed active exploitation were identified at time of analysis, and the team's own assessment raises the attack complexity to High (CVSS 3.1 base 7.2) because of those prerequisites.

RemediationAI

Fixes have been committed to the plugin repository in changesets 3807405 and 3807407 (https://plugins.trac.wordpress.org/changeset/3807405/nextgen-gallery/trunk/static/Lightbox/thickbox/thickbox.js and https://plugins.trac.wordpress.org/changeset?reponame=&new=3807407%40nextgen-gallery&old=3793265%40nextgen-gallery), which touch the Thickbox lightbox script; because these are upstream commits rather than a tagged release, confirm on the vendor advisory page which published plugin version carries the fix before upgrading, and update NextGEN Gallery to that version or later. If an immediate update is not possible, the two documented preconditions can be broken: switch the lightbox effect away from Thickbox or away from the 'Try to apply to all images' context (thumbEffectContext not set to all_images), which removes the rendering path entirely at the cost of losing the all-images lightbox behaviour; and keep WordPress comment moderation strict so that no author's comments become auto-approved, which blocks the stored payload from landing - with the trade-off of added editorial workload. Updating remains the only complete fix; the configuration change alone does not remove the underlying lack of sanitisation and escaping.

Affected VersionsENISA

Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery 0 ≤4.5.6

Affected Packages

euvd photo_gallery_sliders_proofing_and_themes_nextgen_gallery no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

NextGEN Gallery is a WordPress plugin for managing image galleries, albums and slideshows, and it ships several JavaScript lightbox implementations - the vulnerable path is the bundled Thickbox lightbox (static/Lightbox/thickbox/thickbox.js) together with the lightbox context logic (static/Lightbox/lightbox_context.js) and the server-side display handler (src/Display/LightboxManager.php). The flaw is CWE-79 (improper neutralisation of input during web page generation): the 'comment' parameter reaches the page without adequate input sanitisation and without output escaping, so script content persists in the database and executes in the browser of anyone loading the affected page. Because the injected script runs inside the site's origin, the Scope-Changed metric applies - the payload operates in the victim's browsing context rather than the plugin's own. The trigger is not described in the available sources beyond the parameter name and the lightbox rendering path; what the sources do establish is that the vulnerable code is only reached in the Thickbox lightbox when the context is set to all images (thumbEffectContext=all_images), which is a non-default configuration, and that the stored payload only lands unmoderated after an administrator approves the author's first comment. Sites on default lightbox settings or with tight comment moderation do not satisfy those conditions.

Know when Wordpress Plugin gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

Network, unauthenticated stored XSS with scope change (browser context), but AC:H because success depends on a non-default lightbox config and an administrator approving the attacker's first comment; limited C/I, no availability impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

NextGEN Gallery, a widely used WordPress plugin, contains a stored cross-site scripting vulnerability (CVE-2026-126011) affecting all versions up to 4.5.6. An unauthenticated attacker could inject malicious scripts that execute in an administrator's browser, potentially leading to site takeover, but only if the site uses a specific lightbox setting and the attacker's initial comment is approved. Leadership should prioritize patching due to the plugin's popularity and the high privileges at risk.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) change the Thickbox lightbox effect context from 'Try to apply to all images' to a different setting to remove the gating condition, and (2) enforce strict comment moderation policies, ensuring that only trusted administrators approve comments and that any suspicious comments are rejected.

Threat Intelligence Overview

EPSS Score
0.4%
Top 63% exploitable
Prevalence
High
NextGEN Gallery is one of the most widely installed WordPress gallery plugins
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy