Read the docs

NextGEN Gallery: Unauthenticated Stored XSS via ajax_pagination_referrer

Priority LOW 32CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.

Summary

Photo Gallery, Sliders, Proofing and Themes (NextGEN Gallery plugin for WordPress) through 4.5.5 has a stored cross-site scripting flaw in the ajax_pagination_referrer request parameter on the /ngg_tag/<tag>/ page. The plugin takes the pagination base URL from the request and caches the rendered page keyed only on the request URI, so an unauthenticated attacker can poison the cached page so that its pagination links point to an attacker-controlled host (CWE-79). The poisoned page is served for 1800 seconds.

Written with Claude Haiku 5.5 from the sources below · 2026-11-20

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00494 35th percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
smubPhoto Gallery, Sliders, Proofing and Themes – NextGEN Galleryup to 4.5.5—No fix listedCNA
  • Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery Vendorsmub Affected up to 4.5.5 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for Photo Gallery, Sliders, Proofing and Themes (NextGEN Gallery).

Written with Claude Haiku 5.5 from the sources below · 2026-11-20

Timeline

  1. 2026-11-20 Threatist record created from CVE-2026-119611
  2. 2026-11-20 Alias added: GHSA-9m6m-2qp3-gf48
  3. 2026-11-20 CISA SSVC decision points changed
  4. 2026-11-25 EPSS moved to the below the 50th percentile

References

  • TI-2025-12465 Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery <= 3.59.12 - Authenticated… CVSS 3.1HIGH 8.8
  • TI-2026-83530 Remote code execution in NextGEN Gallery plugin for WordPress CVSS 3.1HIGH 8.8
  • TI-2026-78567 PHP object injection in Duplicator and Duplicator Pro plugins CVSS 3.1HIGH 8.8
  • TI-2026-07755 WPCode <= 2.3.5 - Authenticated (Author+) Remote Code Execution via CPT Capability Bypass via XML-RPC wp.newPost CVSS 3.1HIGH 8.8
  • TI-2026-01649 ExactMetrics 8.6.0 - 9.0.2 - Authenticated (Custom) Insecure Direct Object Reference to Arbitrary Plugin Installation CVSS 3.1HIGH 8.8
  • TI-2026-01160 Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery <= 4.0.4 - Authenticated (Author+) Local File Inclusion CVSS 3.1HIGH 8.8
See all 77 →

Sources