Skip to main content

NextGEN Gallery CVE-2026-135987

| EUVDEUVD-2026-145436 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-12-05 Patchstack GHSA-6xcv-vfc2-rfwp
7.1
CVSS 3.1 · Vendor: Patchstack
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privileged user
  2. Delivery
    Inject script into NextGEN Gallery field
  3. Exploit
    Payload stored in plugin data
  4. Execution
    Admin/editor views affected page
  5. Impact
    Script executes in victim browser, hijacks 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 requires an attacker to persist a crafted script into a NextGEN Gallery field that the plugin later renders without proper output encoding (stored XSS), and then requires a victim user to load the page containing that payload (UI:R / passive interaction) for the script to execute. The specific vulnerable field, admin page or gallery feature is not described in the available sources, so the exact injection point is unverified. Limiting factors: the attack is not self-triggering - it depends on a victim (commonly an administrator or editor) viewing the malicious content - and, despite the supplied PR:N, persisting stored content in this plugin generally presupposes some level of authenticated access, which bounds who can plant the payload. Only installations running NextGEN Gallery before 4.6.0 are affected; updating to 4.6.0 is the fix indicated by the advisory.

Impact

This is a stored Cross-Site Scripting flaw (CWE-79) in the NextGEN Gallery WordPress plugin, versions before 4.6.0. The supplied CVSS 3.1 vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L, base 7.1) indicates a network-reachable, low-complexity issue with a scope change (payload executes in a different security context, i.e. the victim's browser) and limited confidentiality, integrity and availability impact; the PR:N in that vector would classify it as unauthenticated, but note that stored XSS in gallery plugins typically requires at least low-privileged authenticated access to persist a payload, so this PR:N should be verified against the vendor advisory (see assessed vector below). UI:R is consistent with stored XSS: a victim must load the page containing the payload. Exploitation status: no public exploit identified at time of analysis - there is no CISA KEV listing and no EPSS score in the input, and the single reference is a Patchstack advisory rather than verified working exploit code. The vuln.today Decision label is 'this_week', which places this above routine patching but below act_now/emergency; combined with the absence of KEV and the limited (L/L/L) impact, this reads as a genuine but moderate-priority web-application issue rather than a critical emergency. EPSS and SSVC automatable/technical-impact signals were not provided, so widespread-exploitation probability cannot be quantified from this data.

Exploit ScenarioDerived

An attacker places a malicious script into a NextGEN Gallery field that is stored and later rendered without proper neutralization; when another user - typically a site administrator or editor - views the affected page in wp-admin or on the front end, the script executes in their browser session. Because scope changes (S:C), the payload runs in the victim's context and can be leveraged to hijack the session, perform actions as that user, or exfiltrate limited data. No verified public exploit code is identified; the only reference is the Patchstack advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available

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

Alert me

AnalysisAIv1 – Dec 05, 2026

Stored cross-site scripting in the Awesomemotive NextGEN Gallery WordPress plugin affects all releases before 4.6.0, allowing a crafted script to be persisted in gallery content and executed in the browser of any user who later views the affected page. The plugin fails to neutralize input during web page generation (CWE-79), so the payload runs in the victim's session and can act with that user's privileges. The advisory credits Patchstack and points to 4.6.0 as the fixed release; no public exploit code has been identified at time of analysis, and the issue is prioritized as 'this_week' rather than as an actively exploited emergency.

RemediationAI

Update the NextGEN Gallery WordPress plugin to version 4.6.0, the release identified in the Patchstack advisory (https://patchstack.com/database/wordpress/plugin/nextgen-gallery/vulnerability/wordpress-nextgen-gallery-plugin-4-6-0-cross-site-scripting-xss-vulnerability?_s_id=cve), which addresses the stored XSS condition. Because the flaw is persistent and fires when a victim loads the affected page, the effective interim bound is who can plant content: limiting gallery and media authoring to trusted roles reduces the population able to seed a payload, at the cost of restricting editorial workflow for lower-privileged contributors, and it does not remove the underlying encoding defect. No other specific compensating control, feature switch or configuration workaround is documented in the available sources, so updating remains the complete fix; since exploitation requires a victim to view the crafted content, administrators and editors should be cautious with gallery entries and comments originating from less-trusted contributors until the plugin is updated.

Affected VersionsENISA

NextGEN Gallery 0 <4.6.0

Affected Packages

euvd nextgen_gallery fix: 4.6.0

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 widely deployed WordPress plugin for managing image galleries and albums, and this flaw is a classic stored (persistent) cross-site scripting issue under CWE-79: attacker-supplied content is saved by the plugin and later emitted into a generated page without proper output encoding or context-aware escaping. The CPE cpe:2.3:a:awesomemotive:nextgen_gallery:*:*:*:*:*:*:*:* matches the plugin before 4.6.0 with no further platform constraints, reflecting the fact that impact depends on the WordPress site configuration rather than the host OS. The supplied CVSS vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L) describes a network-reachable, low-complexity attack requiring user interaction, with scope change because the injected script executes in the context of the victim's browser session rather than within the vulnerable component itself; the independent assessment narrows this to PR:L with A:N, since persisting stored content in this plugin generally presupposes some level of authenticated access and the script itself is not a direct denial-of-service primitive. The specific vulnerable field, admin page or gallery feature is not described in the available sources, so the exact injection point is unverified.

Know when Nextgen Gallery 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 (Patchstack) PRIMARY 7.1 HIGH
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
vuln.today AI 5.4 MEDIUM

Stored XSS is network-reachable and low-complexity with scope change to the victim browser; storing a payload typically needs low-privileged authentication (PR:L), a victim must view it (UI:R), and impact is limited C:L/I:L with no availability effect (A:N).

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

Primary rating from Vendor (Patchstack).

CVSS VectorVendor: Patchstack

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

Lifecycle Timeline

2
Patch available
Dec 05, 2026 - 13:02 EUVD
CVE Published
Dec 05, 2026 - 12:09 cve.org
HIGH 7.1

DescriptionCVE.org

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Awesomemotive NextGEN Gallery nextgen-gallery allows Stored XSS.This issue affects NextGEN Gallery: from n/a before 4.6.0.

Executive ViewAI

Why It Matters

A stored cross-site scripting vulnerability in the NextGEN Gallery WordPress plugin (all versions before 4.6.0) allows attackers to inject malicious scripts that execute when users view affected gallery pages. This affects site administrators, editors, and visitors, potentially enabling session hijacking, defacement, or further compromise. Leadership should prioritize remediation because the plugin is widely deployed and the vulnerability can be exploited without authentication.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include restricting access to gallery content editing to trusted users, deploying a WAF with XSS signatures, and monitoring for suspicious activity.

Threat Intelligence Overview

Prevalence
High
very popular WordPress gallery plugin, hundreds of thousands of active installs
Data Quality
5 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 N/A
Patch available Yes
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

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-2024-3097 MEDIUM POC
5.3 Apr 09

The WordPress Gallery Plugin - NextGEN Gallery plugin for WordPress is vulnerable to unauthorized access of data due to

CVE-2023-3154 HIGH POC
7.5 Oct 16

The WordPress Gallery Plugin WordPress plugin before 3.39 is vulnerable to PHAR Deserialization due to a lack of input p

CVE-2023-3155 HIGH POC
7.2 Oct 16

The WordPress Gallery Plugin WordPress plugin before 3.39 is vulnerable to Arbitrary File Read and Delete due to a lack

CVE-2026-28141 HIGH POC
7.1 Aug 06

Unauthenticated cross-site scripting in the NextGEN Gallery WordPress plugin (versions <= 4.2.3) allows a remote, unauth

CVE-2021-24293 MEDIUM POC
6.1 May 05

In the eCommerce module of the NextGEN Gallery Pro WordPress plugin before 3.1.11, there is an action to call get_cart_i

CVE-2024-5442 MEDIUM POC
5.9 Jul 13

The Photo Gallery, Sliders, Proofing and WordPress plugin before 3.59.3 does not sanitise and escape some of its setting

CVE-2015-9228 HIGH
8.8 Sep 12

In post-new.php in the Photocrati NextGEN Gallery plugin 2.1.10 for WordPress, unrestricted file upload is available via

CVE-2019-14314 CRITICAL
9.8 Aug 27

A SQL injection vulnerability exists in the Imagely NextGEN Gallery plugin before 3.2.11 for WordPress. Rated critical s

CVE-2026-9059 CRITICAL
9.3 May 20

Authenticated SQL injection in NextGEN Gallery (WordPress plugin by Awesome Motive/Imagely) before version 4.2.1 allows

CVE-2023-3279 MEDIUM POC
4.9 Oct 16

The WordPress Gallery Plugin WordPress plugin before 3.39 does not validate some block attributes before using them to g

CVE-2015-9229 MEDIUM POC
4.8 Sep 12

In the nggallery-manage-gallery page in the Photocrati NextGEN Gallery plugin 2.1.15 for WordPress, XSS is possible for

CVE-2024-6393 MEDIUM POC
4.8 Nov 25

The Photo Gallery, Sliders, Proofing and WordPress plugin before 3.59.5 does not sanitise and escape some of its Images

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