Skip to main content

NextGEN Gallery EUVDEUVD-2026-53944

| CVE-2026-28141 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-08-06 Patchstack GHSA-9v8v-v93j-cwvg
7.1
CVSS 3.1 · Vendor: Patchstack
View

Attack ChainAIDerived

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

  1. Recon
    Craft malicious gallery URL with XSS payload
  2. Delivery
    Deliver link to victim via phishing or embedded content
  3. Exploit
    Victim clicks link and browser loads NextGEN Gallery page
  4. Install
    Unsanitized input reflected into HTML response
  5. C2
    Malicious JavaScript executes in victim's browser context
  6. Execute
    Exfiltrate session cookies or WordPress nonces
  7. Impact
    Escalate to admin-level site compromise

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

The attacker requires no authentication and no account on the target WordPress site (PR:N from CVSS vector). Exploitation does require victim interaction - a user must visit or be socially engineered into loading a page or URL that triggers the XSS payload (UI:R from CVSS vector). The vulnerability is present in any WordPress deployment running NextGEN Gallery version 4.2.3 or earlier; no non-default plugin configuration is cited as a prerequisite in the available data, implying it affects standard plugin installations. Exploitation impact is bounded by the need for victim interaction, and the highest-impact scenarios - such as administrative session hijacking leading to full site takeover - depend on an administrator visiting the malicious page while actively authenticated.

Impact

The CVSS 3.1 base score of 7.1 (High) reflects a network-accessible, low-complexity attack requiring no authentication (AV:N/AC:L/PR:N) but mandating victim interaction (UI:R), which moderates realistic exploitability compared to fully automated attacks. The scope change (S:C) elevates the score above typical unauthenticated reflected XSS. No EPSS score was included in the input data, so exploitation probability cannot be quantified probabilistically. The absence of a CISA KEV listing and no identified public exploit code makes this a medium operational priority despite the High CVSS base score. For WordPress deployments where administrators or logged-in editors visit public gallery pages, the risk is materially higher due to the potential for privilege escalation via session hijacking or nonce theft. The A:L availability impact in the provided CVSS vector is atypical for XSS and may reflect page-disruption scenarios; this metric warrants verification against the full Patchstack advisory detail, as the available data does not explain it.

Exploit ScenarioDerived

An unauthenticated attacker identifies a NextGEN Gallery input vector - such as a URL parameter or gallery-related field - that reflects unsanitized content into the HTML response, then crafts a malicious link embedding a JavaScript payload. When a victim, including a logged-in WordPress administrator, visits the crafted URL or page, the script executes in their browser context, potentially exfiltrating session cookies or WordPress nonces that could enable full site compromise. No public proof-of-concept code has been identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 06, 2026

Unauthenticated cross-site scripting in the NextGEN Gallery WordPress plugin (versions <= 4.2.3) allows a remote, unauthenticated attacker to inject arbitrary JavaScript into pages rendered for other users. The scope change (S:C) in the CVSS vector indicates the malicious script executes in the victim's browser context rather than being contained to the plugin itself, enabling session hijacking, credential theft, or malicious redirects against site visitors or administrators. No public exploit code or CISA KEV listing has been identified at time of analysis.

RemediationAI

Update NextGEN Gallery to the version released after 4.2.3; consult the Patchstack advisory at https://patchstack.com/database/wordpress/plugin/nextgen-gallery/vulnerability/wordpress-nextgen-gallery-plugin-4-2-3-cross-site-scripting-xss-vulnerability for the confirmed fixed release, as an exact patched version number was not independently verifiable from the available dataset - patch status is confirmed available per Patchstack advisory. As a compensating control pending upgrade, site operators can restrict public-facing gallery pages to authenticated users only, which eliminates unauthenticated exploitation but will break intended public gallery functionality. Web Application Firewall rules targeting XSS payloads in gallery-related request parameters can reduce exposure, though WAF bypass remains possible and should not substitute for patching. Deploying a restrictive Content Security Policy header with a script-src directive that blocks inline scripts can limit the blast radius of a successful XSS injection by preventing arbitrary script execution.

Affected VersionsENISA

NextGEN Gallery n/a ≤4.2.3

Affected Packages

euvd 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

NextGEN Gallery is a widely-used WordPress photo gallery plugin developed by Syed Balkhi (CPE: cpe:2.3:a:syed_balkhi:nextgen_gallery:*:*:*:*:*:*:*:*). The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-Site Scripting), indicating that user-controllable input is insufficiently sanitized or escaped before being reflected or stored in HTML output rendered to browsers. The scope change (S:C) in the CVSS 3.1 vector is significant: it signals that the XSS payload executes outside the security boundary of the plugin itself, meaning a script injected via NextGEN Gallery can run in the broader WordPress page context and access session cookies, localStorage, or perform privileged actions on behalf of the authenticated victim.

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

Unauthenticated network XSS with browser-scope change warrants C:L and I:L; availability impact removed as standard XSS does not disrupt service availability.

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 (Patchstack).

CVSS VectorVendor: Patchstack

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

DescriptionCVE.org

Unauthenticated Cross Site Scripting (XSS) in NextGEN Gallery <= 4.2.3 versions.

Executive ViewAI

Why It Matters

The NextGEN Gallery WordPress plugin (versions 4.2.3 and earlier) contains an unauthenticated cross-site scripting vulnerability that allows attackers to inject malicious scripts into pages viewed by site visitors and administrators. This enables session hijacking, credential theft, and malicious redirects, putting all site visitors at risk. Any WordPress installation using affected versions requires immediate remediation to prevent unauthorized access to administrative accounts and customer data.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Immediately disable NextGEN Gallery plugin on all affected WordPress installations; (2) Deploy Web Application Firewall rules targeting XSS payloads in gallery plugin URL parameters; (3) Implement Content Security Policy headers to block inline script execution; (4) Restrict WordPress admin dashboard access to known corporate IP ranges; (5) Enable comprehensive login and session logging to detect credential compromise; (6) Plan migration to alternative gallery solutions and prepare vendor evaluation criteria.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
High
popular WordPress gallery plugin with millions of active installs
Exploit
POC
Public exploit code exists
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 Yes
EPSS 0.2%
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

56
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: +20
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-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

CVE-2024-2744 MEDIUM POC
4.3 May 17

The NextGEN Gallery WordPress plugin before 3.59.1 does not sanitise and escape some of its settings, which could allow

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