Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft image with malicious IPTC caption/title
-
DeliverySubmit image via upload or contest channel
-
ExploitPrivileged user imports attacker-supplied image
-
ExecutionStored script renders and executes on page view
-
ImpactHijack sessions or act in victim browser context
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 the NextGEN Gallery image-import workflow: an attacker-supplied image whose IPTC caption (2#120) or title (2#005) field contains script must be imported by an authenticated WordPress user holding image-edit permissions - the plugin's standard path for photographer uploads, client galleries, and contest submissions. The flaw affects all versions up to and including 4.5.5 and stems from insufficient input sanitization and output escaping of those IPTC fields. The key limiting factor is that a trusted, authenticated operator must import the hostile file; the unauthenticated attacker cannot self-trigger storage, which meaningfully constrains real-world exploitation despite the network attack vector. Payload execution then occurs passively whenever any user views the injected page. |
| Impact | This is a genuine but moderate-priority issue rather than a drop-everything emergency. The supplied CVSS vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N) scores 7.2 (High) and models the flaw as network-reachable, low-complexity, unauthenticated, no-interaction, with a scope change - consistent with a stored XSS executing in other users' browsers. However, the vector conflicts with the description: it marks PR:N/UI:N, yet the description explicitly states exploitation 'requires an authenticated user with image-edit permissions to import an attacker-supplied image.' The unauthenticated attacker only crafts the malicious image; a privileged operator must import it, which is really user interaction (UI:R) and lowers real-world ease - verify the interaction assumption with the vendor advisory. No EPSS score was provided and the vulnerability is not in CISA KEV, so there is no signal of active or widespread exploitation. The references are the Wordfence advisory and WordPress SVN source/changeset links, not working exploit code, so no public exploit is confirmed. The vuln.today decision label is 'this_week,' aligning with a High-severity, widely-deployed-plugin XSS that warrants prompt but not emergency patching. Net: a legitimate stored-XSS risk mitigated by the requirement that a trusted user import the hostile file. |
| Exploit ScenarioDerived | An attacker embeds a malicious script into an image's IPTC caption (2#120) or title (2#005) field and submits it through a normal channel - a photographer upload, client gallery, or contest submission. A WordPress user with image-edit permissions imports the file via NextGEN Gallery's standard workflow, and the unsanitized metadata is stored and later rendered, executing the script in the browser of anyone who views the affected page. No public working exploit was identified at time of analysis, though the vulnerable code paths are visible in the referenced WordPress SVN source. |
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 WordPress plugin (all versions through 4.5.5) lets an attacker conceal arbitrary script inside the IPTC caption (2#120) or title (2#005) fields of an image file, which then executes in the browser of anyone who views a page where that image is rendered. The payload cannot be planted unilaterally: an authenticated WordPress user holding image-edit permissions must import the hostile file through the plugin's normal photographer-upload, client-gallery or contest-submission workflow, after which execution is passive and affects any visitor to the injected page. No public exploit code was identified at time of analysis and there is no CISA KEV listing; the vendor's own changesets show an upstream fix in the plugin trunk, though a specific patched release version is not confirmed from the available data.
RemediationAI
Apply the upstream fix: the plugin's Trac changesets (https://plugins.trac.wordpress.org/changeset/3773860/nextgen-gallery/trunk/static/Lightbox/shutter/shutter.js and https://plugins.trac.wordpress.org/changeset?reponame=&new=3793265%40nextgen-gallery&old=3773861%40nextgen-gallery) show sanitization/escaping corrections landing in trunk, so an updated build containing those changesets should be installed; the exact patched release version number is not confirmed in the available data, so verify the fixed version against the vendor advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/8726b508-475d-41cf-b366-83eb3f67c0ed?source=cve) before considering the site covered. Until that update is applied, the practical compensating control is to narrow the import path: restrict the plugin's image-upload and image-edit capabilities to a small, trusted set of roles so that hostile files cannot be introduced by lower-trust accounts, at the cost of slowing down contributor and contest-submission workflows. Sites that accept third-party image submissions can also strip or normalize IPTC 2#120 and 2#005 metadata on ingest before the plugin processes the file, accepting the loss of caption and title metadata in exchange for removing the injection vector. These are mitigations only; they reduce exposure but do not replace installing the corrected plugin code.
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
The plugin (CPE cpe:2.3:a:smub:photo_gallery,_sliders,_proofing_and_themes_-_nextgen_gallery) embeds image metadata into gallery markup. IPTC IIM fields 2#120 (Caption/Abstract) and 2#005 (Object Name/Title) are read from the uploaded file by the legacy metadata handling code (src/Legacy/lib/meta.php) and flow through the admin/gallery rendering paths (src/Legacy/admin/functions.php, src/Legacy/view/gallery.php) and the Shutter lightbox script (static/Lightbox/shutter/shutter.js) without adequate sanitization on input and escaping on output - a classic CWE-79 stored XSS pattern where data presumed to be inert descriptive metadata is later concatenated into HTML and JavaScript contexts. Because the injection point is the file itself rather than a form field, the malicious string survives the upload and is persisted in the gallery record, so the failure is in the trust placed in third-party image metadata. The independently assessed vector is CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (7.2, scope changed) - the PR:N rating reflects that the injecting attacker needs no account, while the UI:R rating captures the required interaction: a separate authenticated operator with image-edit rights must import the crafted file before any script is stored.
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
Attacker is unauthenticated (PR:N) but a privileged user must import the malicious image, so UI:R; stored XSS in another user's browser gives S:C with C:L/I:L and no availability impact.
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 'IPTC 2#120 (caption) / 2#005 (title) inside the image file' 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. This requires an authenticated user with image-edit permissions to import an attacker-supplied image file, which is the plugin's standard workflow for photographer uploads, client galleries, and contest submissions.
Executive ViewAI
The NextGEN Gallery WordPress plugin (all versions through 4.5.5) contains a stored cross-site scripting vulnerability that allows an attacker to embed malicious scripts in image metadata. Exploitation requires an authenticated user with image-edit permissions to upload a crafted file, which then executes in visitors' browsers. While no public exploit code or active exploitation has been identified, the organizational impact is high: any WordPress site using this plugin is at risk if such a user is compromised, potentially leading to data theft or site compromise.
No vendor-released patch identified at time of analysis. Interim mitigations include restricting image upload permissions to trusted users, disabling the plugin if not essential, and implementing a web application firewall (WAF) to block script injection attempts.
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-131404
GHSA-79vp-h527-6hrg
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB