All vulnerabilities

WordPress plugins

CVE-2026-119611

Photo Gallery, Sliders, Proofing and Themes <= 4.5.5 - Unauthenticated Stored Cross-Site Scripting via 'ajax_pagination_referrer' Parameter on /ngg_tag/<tag>/

Severity
High 7.2
Published
20 Nov 2026
Last changed
20 Nov 2026
Added to UpHeron
20 Nov 2026
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Sources
CVE Program

Description

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// 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// page so that its pagination links point to an attacker-controlled host; the plugin's own ajax_pagination.

From the CVE Program.

Affected software

SoftwareAffected versions
Nextgen Gallery (WordPress plugin)WordPress plugins · wp-plugin:nextgen-gallery
  • Every version up to 4.5.5

About Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery

The most popular gallery plugin that lets you create galleries and albums in seconds.

From its WordPress.org page.
Active installations
300,000+WordPress.org, 15 Nov 2026
Latest version
4.5.6WordPress.org, 15 Nov 2026
Last updated
9 Nov 2026WordPress.org
Rating
4.3 out of 5 (4,342 ratings)WordPress.org, 15 Nov 2026
Requires WordPress
5.5.4WordPress.org
Requires PHP
7.4WordPress.org
Tested up to WordPress
7.1.4WordPress.org
Author
Syed BalkhiWordPress.org
In the directory since
23 Apr 2007WordPress.org

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-119611