Photo Gallery by Supsystic – Image Gallery, Masonry, Albums & Lightbox <= 1.23.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Gallery Captions and Popup Titles

Medium 6.4 CWE-79Fixed in 1.23.1
ID
WPSEC-2026-4107
Plugin
Photo Gallery by Supsystic – Image Gallery, Carousel, Slider & Lightbox (gallery-by-supsystic)
Affected
all versions before 1.23.1
Remediation
Update to 1.23.1 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-27
Attack surface
Photo Gallery by Supsystic – Image Gallery, Masonry, Albums & Lightbox on WPSec AttackSurface
Fix released
Published

Description

The Photo Gallery by Supsystic plugin for WordPress is vulnerable to DOM-based Stored Cross-Site Scripting via gallery captions and popup titles in all versions up to, and including, 1.23.0, due to the front-end gallery script starting on any '.grid-gallery' markup on the page, including markup written by hand into post content, and writing caption text, titles, image paths and embed values into the page as HTML without sanitization in the gallery, prettyPhoto and Photobox scripts. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0