Skip to main content

NextGEN Gallery EUVDEUVD-2026-131411

| CVE-2026-119611 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-11-20 Wordfence GHSA-9m6m-2qp3-gf48
7.2
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

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

  1. Access
    Identify published NextGEN /ngg_tag/<tag>/ page
  2. Delivery
    Send crafted request with malicious ajax_pagination_referrer
  3. Exploit
    Poison transient page cache keyed on request URI
  4. Execution
    Cached page served to all visitors for 1800s
  5. Impact
    Pagination/AJAX links resolve to attacker host

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 a NextGEN Gallery tag/taxonomy page to exist and be rendered at the /ngg_tag/<tag>/ route using the Thumbnails display type with AJAX pagination, and depends on the plugin's NGG_RENDERING_CACHE / PHOTOCRATI_CACHE transient caching being active. The specific trigger is the 'ajax_pagination_referrer' request parameter, which the plugin reads from $_REQUEST and whose attacker-supplied host is preserved on the tag route because ngg_wprouting_add_post_permalink is forced to false there (so the plugin does not re-base links to the site's own permalink); the result is cached for 1800 seconds keyed only on the request URI, not the request body. No authentication is required (PR:N). Limiting factors: a public gallery tag page must be present, the rendering cache must be enabled, and the poisoning effect is bounded to the 1800-second transient lifetime per affected request URI.

Impact

This is a moderate-priority issue that should be addressed within the week rather than treated as an emergency, consistent with the vuln.today 'this_week' decision label. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:C) describes a network-reachable, low-complexity, unauthenticated vulnerability whose scope change (S:C) reflects that attacker-supplied content is cached and served to other site visitors - the hallmark of stored XSS. The 7.2 score is driven by scope change plus low confidentiality and integrity impact (C:L/I:L, A:N), not by any system-level compromise. There is no CISA KEV listing and no EPSS score supplied, so there is no evidence of active or widespread exploitation; the signals available (Wordfence reporting plus plugin source/changeset references) point to a credible but not yet weaponized issue. The attack also depends on real-world preconditions not captured by the raw vector (a published NextGEN tag/taxonomy page and the plugin's transient page cache), which temper the practical risk below what AV:N/PR:N alone would suggest. No EPSS or KEV data was provided - their absence is not evidence of low risk, only of missing signals.

Exploit ScenarioDerived

An unauthenticated attacker sends a crafted request to a /ngg_tag/<tag>/ taxonomy page with a malicious 'ajax_pagination_referrer' parameter carrying an attacker-controlled host. Because the plugin reads the pagination base URL from $_REQUEST and caches the fully rendered page in a transient keyed only on the request URI for 1800 seconds, the poisoned page - whose pagination/AJAX links now point to the attacker's host - is then served to all subsequent visitors of that tag page. No public exploit code is identified at time of analysis; the only references are the vendor advisory and the plugin source/patch.

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

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

Alert me

AnalysisAIv1 – Nov 20, 2026

Unauthenticated attackers can poison the cached /ngg_tag/<tag>/ taxonomy page in NextGEN Gallery through 4.5.5 by supplying a crafted ajax_pagination_referrer parameter, causing pagination links to point at an attacker-chosen host and enabling stored cross-site scripting for visitors. The flaw requires a public tag page rendered with the Thumbnails display type and AJAX pagination plus an active NGG_RENDERING_CACHE/PHOTOCRATI_CACHE transient, with poisoned output persisting for up to 1800 seconds per request URI. CVSS 3.1 scores it 7.2 (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N); no public exploit was identified at time of analysis, and the vuln.today priority is this_week, so it should be addressed within the week rather than treated as an emergency.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed. Review and apply the upstream changes referenced by https://plugins.trac.wordpress.org/changeset/3793263/nextgen-gallery/trunk/src/DisplayTypes/Thumbnails.php and https://plugins.trac.wordpress.org/changeset?reponame=&new=3793265%40nextgen-gallery&old=3773861%40nextgen-gallery, and confirm that the installed release includes those changes because an exact patched version number is not stated in the provided data. Until a patched release is confirmed, reducing exposure by disabling the NGG_RENDERING_CACHE / PHOTOCRATI_CACHE transient caching or removing/restricting public /ngg_tag/<tag>/ pages that use the Thumbnails display type with AJAX pagination would remove the described preconditions, with trade-offs of lost page-cache performance and reduced tag-page functionality.

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

NextGEN Gallery is a WordPress photo-gallery plugin whose tag/taxonomy routes can render Thumbnails display types with AJAX pagination. In the vulnerable flow, the plugin reads the ajax_pagination_referrer value from $_REQUEST and, on the /ngg_tag/<tag>/ route, preserves the attacker-supplied host because ngg_wprouting_add_post_permalink is forced to false there, so links are not re-based to the site's own permalink. The fully rendered page is then stored in a transient keyed only on the request URI, not the request body, through NGG_RENDERING_CACHE / PHOTOCRATI_CACHE for 1800 seconds; the referenced ajax_pagination.js consumes the poisoned pagination links. This is a CWE-79 cross-site scripting issue expressed as cache poisoning: the trigger is the ajax_pagination_referrer request parameter on a tag page using the Thumbnails display type with AJAX pagination and active rendering cache, and the poisoning effect is bounded to the transient lifetime per affected request URI.

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

Unauthenticated network request poisons a shared cache served to other users (S:C), yielding stored XSS with limited confidentiality/integrity impact and no availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/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 NextGEN Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 4.5.5 via the 'ajax_pagination_referrer' request parameter used on the /ngg_tag/<tag>/ taxonomy page. This is due to the plugin reading the pagination base URL from $_REQUEST, preserving the attacker-supplied host on the tag route (where ngg_wprouting_add_post_permalink is forced to false so the plugin does not re-base the links to the site's own permalink), and caching the fully rendered page in a transient keyed only on the request URI (not the request body) for 1800 seconds via NGG_RENDERING_CACHE / PHOTOCRATI_CACHE. This makes it possible for unauthenticated attackers to poison the cached /ngg_tag/<tag>/ page so that its pagination links point to an attacker-controlled host; the plugin's own ajax_pagination.

Executive ViewAI

Why It Matters

NextGEN Gallery through version 4.5.5 contains a stored cross-site scripting vulnerability that allows unauthenticated attackers to poison cached tag pages, potentially compromising site visitors. This affects organizations using the plugin for public image galleries, exposing their users to malicious script execution and potential data theft. Leadership should prioritize remediation due to the ease of exploitation and the scope change indicated by the CVSS score.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include disabling public tag pages or AJAX pagination, applying virtual patching via Web Application Firewall to block malicious ajax_pagination_referrer parameters, and reducing cache transient duration to limit exposure.

Threat Intelligence Overview

EPSS Score
0.6%
Top 49% exploitable
Prevalence
High
NextGEN Gallery is a very widely deployed WordPress gallery plugin
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.6%
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