CVE-2026-116563

Photo Gallery, Sliders, Proofing and Themes <= 4.5.4 - Unauthenticated Stored DOM-Based Cross-Site Scripting via Comment `title` Attribute via Shutter Lightbox innerHTML

Published Oct 31, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
Description
The Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 4.5.4 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. Exploitation requires the site to have Shutter or Shutter Reloaded selected as the active lightbox, and the injected comment must be approved through WordPress's standard moderation workflow before the payload is rendered to other visitors.

Analysis

AI-generated

Technical impact

The NextGEN Gallery plugin for WordPress stores the comment title in the database without proper sanitization and outputs it via the innerHTML of the Shutter lightbox, allowing an unauthenticated attacker to inject arbitrary JavaScript that will execute for any visitor who views the affected page. This flaw permits session hijacking, defacement, or other script‑based attacks but does not grant direct access to the site’s administration interface, so its impact is limited to the web front‑end.

Affected Systems

Any WordPress installation running the NextGEN Gallery plugin up to and including version 4.5.4, with the Shutter or Shutter Reloaded lightbox selected as the active lightbox. No other vendors or products are listed as affected.

Risk and Exploitability

The vulnerability is rated 5.4 on the CVSS scale, indicating moderate severity. Exploitation is theoretically possible without authentication but requires the attacker’s comment to be approved by WordPress’s moderation workflow before it is rendered. The EPSS score is not available, and the vulnerability has not been listed in the CISA KEV catalog, suggesting a lower likelihood of widespread exploitation so far, yet the attack model remains straightforward for sites that permit unmoderated or quickly moderated comments.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the NextGEN Gallery plugin to the latest release (4.5.5 or newer) where the comment title sanitization is fixed.
  • If an immediate update is not possible, disable the Shutter or Shutter Reloaded lightbox or switch to a different lightbox provider that does not render unescaped comment content via innerHTML.
  • Remove any existing stored malicious comments from the database or configure comment moderation to reject comments with suspicious payloads, ensuring that only sanitized content is stored.

Generated by OpenCVE AI on October 31, 2026 at 06:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

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 DOM-Based Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 4.5.4 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. Exploitation requires the site to have Shutter or Shutter Reloaded selected as the active lightbox, and the injected comment must be approved through WordPress's standard moderation workflow before the payload is rendered to other visitors.
Title Photo Gallery, Sliders, Proofing and Themes <= 4.5.4 - Unauthenticated Stored DOM-Based Cross-Site Scripting via Comment `title` Attribute via Shutter Lightbox innerHTML
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:H/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 1, 2026, 5:44 PM
Reserved
Oct 26, 2026, 2:55 PM
Status
Deferred
Published
Oct 31, 2026, 6:16 AM
Modified
Nov 2, 2026, 4:19 PM