---
id: CVE-2026-116563
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
summary: >-
  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 inp…
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N'
cvssSource: cna
cwe:
  - CWE-79
vendor: smub
product: 'Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery'
affected:
  - photo_gallery_sliders_proofing_and_themes_nextgen_gallery <= 4.5.4
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-01T17:35:06.384201Z'
published: '2026-10-31'
updated: '2026-11-01'
sourceUpdated: '2026-11-01T17:44:30.899Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-116563'
references:
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/18dc9c01-c849-40c3-87ec-5eebc9660aff?source=cve
  - url: >-
      https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.4/static/Lightbox/shutter/shutter.js#L197
  - url: >-
      https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.4/static/Lightbox/shutter_reloaded/shutter.js#L247
  - url: >-
      https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.4/static/Lightbox/shutter/shutter.js#L67
  - url: >-
      https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.4/static/Lightbox/shutter_reloaded/shutter.js#L75
  - url: >-
      https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.4/static/Lightbox/shutter/nextgen_shutter.js#L120
  - url: >-
      https://plugins.trac.wordpress.org/browser/nextgen-gallery/tags/4.5.4/static/Lightbox/shutter_reloaded/nextgen_shutter_reloaded.js#L118
  - url: >-
      https://plugins.trac.wordpress.org/changeset/3773860/nextgen-gallery/trunk/static/Lightbox/shutter/shutter.js
tags:
  - cve.org
epss: 0.00352
epssPercentile: 0.2897
ingestedAt: '2026-11-05T19:30:42.603Z'
---

## Overview

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.

## Affected

- `photo_gallery_sliders_proofing_and_themes_nextgen_gallery <= 4.5.4`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
