CVE-2026-109387

Photo Gallery, Sliders, Proofing and Themes <= 4.5.5 - Unauthenticated Stored Cross-Site Scripting via IPTC/EXIF Image Metadata

Published Nov 20, 2026 CVSS 3.1 · 7.2 High EPSS n/a KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability is caused by insufficient input sanitization and output escaping when the plugin processes IPTC 2#120 (caption) and 2#005 (title) fields embedded in image files. An attacker who can upload a crafted image can inject JavaScript that will execute in the context of any user who views a page that displays the affected image, leading to cross‑site scripting attacks.

Affected Systems

All installations of the NextGEN Gallery plugin for WordPress with versions 4.5.5 or older are affected. The flaw is present in the standard image import workflow used by photographers, client galleries, and contest submissions, where an authenticated user with image‑edit permissions uploads images into galleries.

Risk and Exploitability

The CVSS score of 7.2 reflects a moderate severity, while the lack of an available EPSS score and the current absence from the KEV catalog suggest that the vulnerability is not yet widely exploited. However, because it requires only an authenticated user with image‑edit rights—and then affects all visitors—there is a realistic risk of malicious scripts running on collaborative galleries or client-facing pages. Attackers could steal session cookies, deface interfaces, or inject additional payloads.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the NextGEN Gallery plugin to the latest version where the issue has been fixed.
  • Restrict image upload capabilities to trusted users or disable IPTC/EXIF metadata handling in the plugin settings if possible.
  • Examine existing images and strip or sanitize the IPTC title and caption fields with an image editor or metadata‑removal tool before re‑uploading them to the gallery.

Generated by OpenCVE AI on November 20, 2026 at 21:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Smub
Smub nextgen Gallery
Wordpress-extensions
Wordpress-extensions nextgen Gallery
Vendors & Products Smub
Smub nextgen Gallery
Wordpress-extensions
Wordpress-extensions nextgen Gallery
Type Values Removed Values Added
Description 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.
Title Photo Gallery, Sliders, Proofing and Themes <= 4.5.5 - Unauthenticated Stored Cross-Site Scripting via IPTC/EXIF Image Metadata
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Nov 20, 2026, 7:44 PM
Reserved
Oct 12, 2026, 2:35 PM
Status
Deferred
Published
Nov 20, 2026, 10:17 AM
Modified
Nov 20, 2026, 8:17 PM