Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify published NextGEN /ngg_tag/<tag>/ page
-
DeliverySend crafted request with malicious ajax_pagination_referrer
-
ExploitPoison transient page cache keyed on request URI
-
ExecutionCached page served to all visitors for 1800s
-
ImpactPagination/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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
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.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
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
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.
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
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 Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
EUVD-2026-131411
GHSA-9m6m-2qp3-gf48
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB