XSS in Smub Photo Gallery, Sliders, Proofing And Themes – Nextgen Gallery
CVE-2026-119611
- CVSS v3
- 7.2 High
- Public exploits
- None known
- EPSS
- 0.006 · 51.0th percentile
- Published
- 2026-11-20
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Changed
S:C - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.006, 51.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- www.wordfence.com/threat-intel/vulnerabilities/id/eb17bfea-9648-4395-b69e-b159f…
- plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.5/src/DisplayTypes/…
- plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.5/src/DisplayType/C…
- plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.5/src/DisplayedGall…
- plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.5/src/DisplayTypes/…
- plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.5/src/Util/RoutingA…
- plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.5/static/Thumbnails…
- plugins.trac.wordpress.org/changeset
- plugins.trac.wordpress.org/changeset/3793263/nextgen-gallery/trunk/src/DisplayT…