CVE-2026-109387 — smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery
One of 3 smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery vulnerabilities published together by NVD: our article covers all of them.
PHPWordPressWebVulnerabilitiesResearch article
NextGEN Gallery Plugin Vulnerable to Stored XSS via Image Metadata
| CVE | CVE-2026-109387 |
|---|---|
| Vendor and product | smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery |
| Published | November 23, 2026 20:30 UTC |
| Research cut-off | November 23, 2026 19:40 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-11-20); CISA KEV catalog; FIRST EPSS (2026-11-22) |
Executive summary
The NextGEN Gallery plugin for WordPress is affected by a Stored Cross-Site Scripting (XSS) vulnerability due to inadequate input sanitization and output escaping in image metadata fields [1]. The CVSS 3.1 score is 7.2, HIGH, scored by security@wordfence.com [1]. All versions up to 4.5.5 are impacted, and the reviewed sources do not confirm any known exploitation [2, 3]. The sources do not list a patched version of the plugin.
Key points
- The NextGEN Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting due to inadequate input sanitization and output escaping [1].
- The CVSS 3.1 score is 7.2, HIGH, scored by security@wordfence.com [1].
- All versions up to 4.5.5 are affected, and the reviewed sources do not confirm any known exploitation [2, 3].
- An authenticated user with image editing privileges is necessary to import a file that is controlled by an attacker [1].
- The vulnerability has a low impact on confidentiality and integrity, with no impact on availability [1].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 3.1 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2026-109387 | smub | Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery | CWE-79 | 7.2 HIGH, scored by security@wordfence.com | 2026-11-20T10:17:06 | 2026-11-20T20:17:10 | Deferred |
Vulnerability description
The NextGEN Gallery plugin for WordPress allows unauthenticated attackers to insert arbitrary web scripts into pages that run when a user views an infected page. This is possible through the 'IPTC 2#120 (caption) / 2#005 (title) inside the image file' parameter, which lacks proper input sanitization and output escaping [1]. An authenticated user who has the ability to edit images is needed to import a file provided by an attacker, which is typical for photographer uploads and client galleries [1].
Attack surface and exploitation prerequisites
The CVSS vector indicates the vulnerability requires network access (AV:N), no privileges (PR:N), and no user interaction (UI:N). The attack surface is limited to users who have image-edit permissions and can upload an attacker-controlled image file [1].
Impact analysis
The CVSS vector shows the vulnerability has a low impact on confidentiality (C:L), a low impact on integrity (I:L), and no effect on availability (A:N). The description highlights that unauthenticated attackers can inject arbitrary web scripts into pages that execute when a user visits an infected page [1].
Affected products and versions
| Affected Product | Fixed Version |
|---|---|
| smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery | not listed |
Exploitation and threat intelligence status
CVE-2026-109387 is not included in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-23 [2]. The EPSS score estimates a 0.53% probability of exploitation activity within the next 30 days [3].
Detection and exposure assessment
Readers can assess their exposure by verifying if they are using a version of the NextGEN Gallery plugin up to and including 4.5.5 [1].
Remediation
The sources do not provide a fixed version for the affected product. General defensive guidance includes monitoring for unusual activity and keeping plugins updated, though the sources do not give this advice.
Remediation checklist
- Monitoring for unusual activity is general guidance, not a source-given step.
- Keeping plugins updated is general guidance; the sources do not list a fixed version.
Evidence gaps
- The sources do not describe the internal workings of the affected component.
- The sources do not mention any alternative solutions or workarounds.
- The sources do not outline a specific exploitation scenario.
- The sources do not provide indicators of compromise.
- The sources do not list a fixed version for the affected product.
References
- CVE-2026-109387 record. NIST National Vulnerability Database (NVD), 2026-11-20. https://nvd.nist.gov/vuln/detail/CVE-2026-109387. Accessed 2026-11-23.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-23. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-23.
- EPSS score for CVE-2026-109387. FIRST, 2026-11-22. https://api.first.org/data/v1/epss?cve=CVE-2026-109387. Accessed 2026-11-23.
Summary
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.
Severity breakdown
High · 7.2
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- no
- Scope
- reaches beyond the vulnerable component (e.g. from a sandbox or VM to the host)
- Impact
- low on confidentiality and integrity, none on availability
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery | ≤ 4.5.5 | — |
References by type
Other references
- plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.2/src/Legac…
- plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.2/src/Legac…
- plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.2/src/Legac…
- plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.2/static/Li…
- plugins.trac.wordpress.org/changeset/3773860/nextgen-gallery/trunk/stat…
- plugins.trac.wordpress.org/changeset
- wordfence.com/threat-intel/vulnerabilities/id/8726b508-475d-41cf-b366-8…
Affected
- smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery
Frequently asked questions
What is CVE-2026-109387?
The NextGEN Gallery plugin for WordPress is affected by a Stored Cross-Site Scripting (XSS) vulnerability due to inadequate input sanitization and output escaping in image metadata fields. The CVSS 3.1 score is 7.2, HIGH, scored by security@wordfence.com. All versions up to 4.5.5 are impacted, and the reviewed sources do not confirm any known exploitation. The sources do not list a patched version of the plugin. Weakness type: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CWE-79).
How severe is CVE-2026-109387?
CVE-2026-109387 has a CVSS 3.1 base score of 7.2 (high), from the CNA (wordfence.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-109387 being exploited?
Not as far as is known: CVE-2026-109387 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.4% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-109387?
smub Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery ≤ 4.5.5.
How do I fix CVE-2026-109387?
Monitoring for unusual activity is general guidance, not a source-given step. Keeping plugins updated is general guidance; the sources do not list a fixed version.
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-134955 — tychesoftwares Product Input Fields for WooCommerce
- CVE-2026-97345 — SumUp Payment Gateway For WooCommerce
- CVE-2026-85412 — hassantafreshi Easy Form Builder by WhiteStudio – Drag & Drop Form Builder
- CVE-2026-85416 — yonifre Lenix Leads Collector
- CVE-2026-92251 — zarinpal افزونه پرداخت امن زرینپال برای ووکامرس (ZarinPal for WooCommerce)