# Photo Gallery by Supsystic – Image Gallery, Masonry, Albums & Lightbox <= 1.23.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Carousel Video Slide Source

- **ID:** WPSEC-2026-4106
- **Plugin:** Photo Gallery by Supsystic – Image Gallery, Carousel, Slider & Lightbox (`gallery-by-supsystic`), https://wordpress.org/plugins/gallery-by-supsystic/
- **Affected versions:** from 1.22.0 before 1.23.1
- **Fixed in:** 1.23.1 (Update to 1.23.1 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-27)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/gallery-by-supsystic
- **Fix released:** 2026-11-26
- **Published:** 2026-11-27
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4106/

## Description

The Photo Gallery by Supsystic plugin for WordPress is vulnerable to DOM-based Stored Cross-Site Scripting via carousel and slider video sources in all versions up to, and including, 1.23.0, due to the slider script starting on any slider markup on the page, including markup written by hand into post content, and using the video source from that markup as the address of an iframe without checking the URL scheme. 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

- https://wpsec.com/vuln/WPSEC-2026-4106/
- https://plugins.svn.wordpress.org/gallery-by-supsystic/tags/1.23.1/
- https://wordpress.org/plugins/gallery-by-supsystic/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4106/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
