Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify site with vulnerable NextGEN Gallery and all-images lightbox setting
-
DeliverySubmit comment with crafted script via 'comment' parameter
-
ExploitComment stored without sufficient sanitization/escaping
-
ExecutionPayload reaches publicly rendered page
-
PersistVictim loads injected page
-
ImpactScript 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
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.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
EUVD-2026-131409
GHSA-vw56-76hv-27f4
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB