Read the docs

Stored cross-site scripting in NextGEN Gallery plugin for WordPress

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

The Photo Gallery, Sliders, Proofing and Themes NextGEN Gallery plugin for WordPress by smub is affected in all versions up to and including 4.5.6. The comment parameter is not properly sanitized or escaped, a cross-site scripting flaw (CWE-79) that stores injected scripts in pages. An unauthenticated attacker can inject scripts that run when a user opens an injected page, but only if the Thickbox lightbox applies to all images and an administrator approves the attacker's initial comment.

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

Description from the CNA

The Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 4.5.6 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This requires the site administrator to have configured the Thickbox lightbox effect with the "Try to apply to all images" context (thumbEffectContext=all_images), and exploitation additionally depends on an administrator approving the attacker's initial comment so that subsequent comments from that author are auto-approved.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00419 27th 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.6—No fix listedCNA
  • Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery Vendorsmub Affected up to 4.5.6 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-21

Timeline

  1. 2026-11-21 Threatist record created from CVE-2026-126011
  2. 2026-11-21 Alias added: GHSA-mrm6-w4r7-73xh
  3. 2026-11-23 CISA SSVC decision points changed

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