Skip to main content

NextGEN Gallery CVE-2026-116550

| EUVDEUVD-2026-131409 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-11-20 Wordfence GHSA-vw56-76hv-27f4
7.2
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

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

  1. Access
    Identify site with vulnerable NextGEN Gallery and all-images lightbox setting
  2. Delivery
    Submit comment with crafted script via 'comment' parameter
  3. Exploit
    Comment stored without sufficient sanitization/escaping
  4. Execution
    Payload reaches publicly rendered page
  5. Persist
    Victim loads injected page
  6. Impact
    Script executes in victim browser session

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 is NOT possible against a default install. Two concrete conditions must both hold: (1) the plugin's 'What must the lightbox be applied to?' setting (thumbEffectContext) must be configured to 'Try to apply to all images' or 'Try to apply to all images that link to image files' - neither is the shipping default; and (2) the attacker-submitted comment must reach a publicly rendered state (i.e., be displayed on a public page rather than held in moderation). The attack is network-reachable and requires no authentication (PR:N) and no privileged setup by the attacker, but the non-default lightbox configuration and comment-rendering requirement are the key limiting factors that sharply reduce the realistically exposed population relative to the 7.2 base score. Affected product: NextGEN Gallery (Photo Gallery, Sliders, Proofing and Themes) for WordPress, all versions up to and including 4.5.5.

Impact

This is a genuine but conditionally-gated issue rather than a drop-everything emergency. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N, base 7.2) describes network-reachable, unauthenticated, scope-changing stored XSS - signals that normally argue for high priority. However, the description itself adds a material limiter the base vector does not reflect: exploitation requires the plugin's 'What must the lightbox be applied to?' setting (thumbEffectContext) to be set to 'Try to apply to all images' or 'Try to apply to all images that link to image files,' which is explicitly NOT the shipping default, AND the attacker's comment must reach a publicly rendered state. That non-default-configuration dependency means the AC:L in the supplied vector arguably understates attack complexity for the typical deployment. No EPSS score was provided; KEV status is not indicated (treat as not listed, i.e. no confirmed active exploitation); no SSVC decision tree values were supplied. The only decision signal present is the vuln.today priority label 'this_week,' consistent with a real-but-not-critical stored XSS. There is no working exploit code referenced - the links are the Wordfence advisory, plugin source lines, and the fixing changeset, not a PoC. Net: a real, patch-worthy vulnerability whose realistic blast radius is bounded by a non-default setting; prioritize alongside normal plugin patching rather than as an actively-exploited emergency, and verify your own thumbEffectContext configuration to gauge exposure.

Exploit ScenarioDerived

On a WordPress site running NextGEN Gallery (≤4.5.5) where the lightbox thumbEffectContext is configured to apply to all images (or all images linking to image files), an unauthenticated attacker submits a comment containing a crafted script payload via the 'comment' parameter. Once that comment reaches a publicly rendered page, the script executes in the browser of any visitor who views the injected page, enabling session/cookie theft, redirection, or admin-context actions if an administrator views it. No public working exploit code is referenced; the available links are the vendor advisory, source code, and the fixing changeset.

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

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

Alert me

AnalysisAIv1 – Nov 20, 2026

Stored cross-site scripting in the NextGEN Gallery plugin for WordPress (all versions through 4.5.5) lets unauthenticated remote attackers plant arbitrary script via the 'comment' parameter, which then executes in the browser of anyone who views a page where that comment is rendered. Exposure is gated by two conditions: the site must have set 'What must the lightbox be applied to?' (thumbEffectContext) to 'Try to apply to all images' or 'Try to apply to all images that link to image files' - neither is the shipping default - and the submitted comment must reach a publicly rendered state rather than being held in moderation, so default installs and sites with moderated comments are not exploitable. Wordfence scores the issue 7.2 while our assessment raises attack complexity to High because of those prerequisites; no public exploit code has been identified at time of analysis.

RemediationAI

Upstream fix available (commit/changeset); released patched version not independently confirmed - the plugin's Trac repository shows fix changesets 3793263 (trunk static/Lightbox/simplelightbox/simple-lightbox.js) and 3793265, so update NextGEN Gallery to a release later than 4.5.5 and verify with the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/e75bee39-3c8a-47cc-9045-3eb25ef0d517?source=cve) which release is confirmed patched, since the available data does not state the first fixed version number. If the plugin cannot be updated promptly, remove both exploitation prerequisites: set 'What must the lightbox be applied to?' (thumbEffectContext) back to the default instead of 'Try to apply to all images' or 'Try to apply to all images that link to image files', with the trade-off that the lightbox no longer applies to every image on the page, and keep comments moderated or approval-gated so unauthenticated submissions never reach a publicly rendered state, at the cost of delaying legitimate comments. Sites already on the default lightbox setting with moderated comments fall outside the assessed exposure.

Affected VersionsENISA

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

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

CWE-79 (improper neutralization of input during web page generation) in the WordPress plugin Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery, distributed through the WordPress plugin directory and tracked as CPE cpe:2.3:a:smub:photo_gallery,_sliders,_proofing_and_themes_-_nextgen_gallery. The vulnerable path combines the plugin's comment handling with its SimpleLightbox front-end integration: the advisory references static/Lightbox/simplelightbox/simple-lightbox.js, static/Lightbox/simplelightbox/nextgen_simple_lightbox_init.js and static/Lightbox/lightbox_context.js in tag 4.5.4, the files that govern how the lightbox is bound to images on a page. Because the stored comment value lacks sufficient input sanitization and output escaping, attacker-supplied script survives into rendered page output. Reaching an executing state depends on the site owner's thumbEffectContext configuration (lightbox applied to all images, or to all images that link to image files) and on the comment being publicly displayed rather than moderated; beyond the insufficient sanitization and escaping, the sources do not describe the precise defect within those scripts.

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 and limited C/I impact; AC:H because exploitation depends on a non-default thumbEffectContext setting and the comment reaching public rendering.

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/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.5 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. Exploitation requires the plugin's "What must the lightbox be applied to?" setting (thumbEffectContext) to be configured as "Try to apply to all images" or "Try to apply to all images that link to image files," which is not the shipping default, and also requires the attacker's comment to reach a publicly rendered state.

Executive ViewAI

Why It Matters

A stored cross-site scripting vulnerability in the NextGEN Gallery WordPress plugin (versions through 4.5.5) could allow attackers to inject malicious scripts into comments, which then execute in visitors' browsers under specific non-default configurations. While default installations are not exploitable, sites using the 'all images' lightbox setting and unmoderated comments face potential client-side attacks, risking user data theft and site reputation; leadership should prioritize remediation given the plugin's widespread use.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: change the 'thumbEffectContext' setting to a non-vulnerable option (e.g., 'Do not apply') and enforce comment moderation to prevent unapproved comments from being publicly rendered; consider disabling the NextGEN Gallery plugin until a patch is available.

Threat Intelligence Overview

EPSS Score
0.5%
Top 54% exploitable
Prevalence
High
NextGEN Gallery is one of the most widely installed WordPress gallery plugins
Data Quality
3 sources
Confidence: Low

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.5%
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Medium
Technical Impact
Partial

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: +1
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