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>/

Published Nov 20, 2026
·
Updated

The NextGEN Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 4.5.5 via the 'ajaxpaginationreferrer' request parameter used on the /nggtag/<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 nggwproutingaddpostpermalink 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 NGGRENDERINGCACHE / PHOTOCRATICACHE. This makes it possible for unauthenticated attackers to poison the cached /nggtag/<tag>/ page so that its pagination links point to an attacker-controlled host; the plugin's own ajaxpagination.

Affected Software

1 affected component
Imagely NextGEN Gallery<=4.5.5

Event History

Nov 20, 2026
CVE Published
via MITRE·09:34 AM
Data Sourced
via MITRE·09:34 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Does an attacker need a WordPress account or any user interaction to poison a page?

No. The issue is exploitable without authentication and does not require user interaction from the attacker.

2

Which site content is exposed to cache poisoning?

The affected route is the /ngg_tag/<tag>/ taxonomy page. On that route, the plugin can retain an attacker-supplied host when generating pagination links.

3

How long can a poisoned response remain available?

The fully rendered page is stored in a transient cache for 1800 seconds. The cache key uses the request URI rather than the request body, allowing a malicious request to affect later requests for the same URI during that period.

4

How can I check for evidence of exploitation?

Inspect pagination links on affected /ngg_tag/<tag>/ pages for hosts that do not belong to your site. An attacker-controlled external host in those links is an indicator that the cached page may have been poisoned.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203