Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged user
-
DeliveryInject script into NextGEN Gallery field
-
ExploitPayload stored in plugin data
-
ExecutionAdmin/editor views affected page
-
ImpactScript 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
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).
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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 Nextgen Gallery
View allThe WordPress Gallery Plugin - NextGEN Gallery plugin for WordPress is vulnerable to unauthorized access of data due to
The WordPress Gallery Plugin WordPress plugin before 3.39 is vulnerable to PHAR Deserialization due to a lack of input p
The WordPress Gallery Plugin WordPress plugin before 3.39 is vulnerable to Arbitrary File Read and Delete due to a lack
Unauthenticated cross-site scripting in the NextGEN Gallery WordPress plugin (versions <= 4.2.3) allows a remote, unauth
In the eCommerce module of the NextGEN Gallery Pro WordPress plugin before 3.1.11, there is an action to call get_cart_i
The Photo Gallery, Sliders, Proofing and WordPress plugin before 3.59.3 does not sanitise and escape some of its setting
In post-new.php in the Photocrati NextGEN Gallery plugin 2.1.10 for WordPress, unrestricted file upload is available via
A SQL injection vulnerability exists in the Imagely NextGEN Gallery plugin before 3.2.11 for WordPress. Rated critical s
Authenticated SQL injection in NextGEN Gallery (WordPress plugin by Awesome Motive/Imagely) before version 4.2.1 allows
The WordPress Gallery Plugin WordPress plugin before 3.39 does not validate some block attributes before using them to g
In the nggallery-manage-gallery page in the Photocrati NextGEN Gallery plugin 2.1.15 for WordPress, XSS is possible for
The Photo Gallery, Sliders, Proofing and WordPress plugin before 3.59.5 does not sanitise and escape some of its Images
EUVD-2026-145436
GHSA-6xcv-vfc2-rfwp
NVD
CVE.org
Vulnrichment
Exploit-DB