Skip to main content

NextGEN Gallery CVE-2026-109387

| EUVDEUVD-2026-131404 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-11-20 Wordfence GHSA-79vp-h527-6hrg
7.2
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

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

  1. Access
    Craft image with malicious IPTC caption/title
  2. Delivery
    Submit image via upload or contest channel
  3. Exploit
    Privileged user imports attacker-supplied image
  4. Execution
    Stored script renders and executes on page view
  5. Impact
    Hijack 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.

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 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

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

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

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 6.1 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/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 '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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

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
High
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