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>/
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/<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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality low, integrity low, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.63%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 51.4% of all scored CVEs. Scores of 2 Dec 2026.
The assessment of CISA (SSVC, 20 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-79 Improper Neutralization of Input During Web Page Generation
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery |
affected up to and including 4.5.5
Other versions: unaffected
|
Is my server affected?
This CVE is in Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery of smub, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Other references
- https://www.wordfence.com/threat-intel/vulnerabilities/id/eb17bfea-9648-4395-b69e-b159f3bdfef5?source=cve wordfence.com
- https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.5/src/DisplayTypes/Thumbnails.php#L128 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.5/src/DisplayType/Controller.php#L811 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.5/src/DisplayedGallery/Renderer.php#L460 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.5/src/DisplayTypes/Taxonomy.php#L96 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.5/src/Util/RoutingApp.php#L627 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.5/static/Thumbnails/ajax_pagination.js#L21 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/changeset?reponame=&new=3793265%40nextgen-gallery&old=3773861%40nextgen-gallery plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/changeset/3793263/nextgen-gallery/trunk/src/DisplayTypes/Thumbnails.php plugins.trac.wordpress.org
Source: the record CVE-2026-119611 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse