Stored cross-site scripting in NextGEN Gallery via image IPTC metadata
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) WordPress plugin by smub is affected in all versions up to, and including, 4.5.5. Insufficient input sanitization and output escaping of the IPTC caption and title fields in image files lets stored cross-site scripting occur (CWE-79). An unauthenticated attacker can inject scripts that run when a user opens an injected page, after an authenticated user with image-edit permissions imports an attacker-supplied image file.
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
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 'IPTC 2#120 (caption) / 2#005 (title) inside the image file' parameter in all versions up to, and including, 4.5.5 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 an authenticated user with image-edit permissions to import an attacker-supplied image file, which is the plugin's standard workflow for photographer uploads, client galleries, and contest submissions.
Why it matters now
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
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
- 2026-11-20 Threatist record created from CVE-2026-109387
- 2026-11-20 Alias added: GHSA-79vp-h527-6hrg
- 2026-11-20 CISA SSVC decision points changed
References
Other 7
- https://www.wordfence.com/threat-intel/vulnerabilities/id/8726b508-475d-41cf-b366-83eb3f67c0ed?source=cve
- https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.2/static/Lightbox/shutter/shutter.js#L140
- https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.2/src/Legacy/admin/functions.php#L382
- https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.2/src/Legacy/lib/meta.php#L310
- https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.2/src/Legacy/view/gallery.php#L55
- https://plugins.trac.wordpress.org/changeset?reponame=&new=3793265%40nextgen-gallery&old=3773861%40nextgen-gallery
- https://plugins.trac.wordpress.org/changeset/3773860/nextgen-gallery/trunk/static/Lightbox/shutter/shutter.js
More smub vulnerabilities
- 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
Sources
- CVE-2026-109387 · CVE Program
- CVE-2026-109387 · NVD
- FIRST EPSS
- GHSA-79vp-h527-6hrg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences