Photo Gallery, Sliders, Proofing and Themes <= 4.5.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via Lightbox Content Links
- ID
- WPSEC-2026-3365
- Plugin
- Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery (nextgen-gallery)
- Affected
- all versions before 4.6.0
- Remediation
- Update to 4.6.0 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-18
- Attack surface
- Photo Gallery, Sliders, Proofing and Themes on WPSec AttackSurface
- Fix released
- Published
Description
The Photo Gallery, Sliders, Proofing and Themes plugin for WordPress is vulnerable to Stored Cross-Site Scripting via links that wrap images in post content in all versions up to, and including, 4.5.6, due to the Fancybox and Thickbox lightbox scripts loading the linked URL and inserting the response into the page without restricting it to the site's own origin. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts that execute when a user clicks an injected link, on sites where the Fancybox or Thickbox lightbox is selected and set to apply to all images.
References
- https://wpsec.com/vuln/WPSEC-2026-3365/
- https://plugins.svn.wordpress.org/nextgen-gallery/tags/4.6.0/
- https://wordpress.org/plugins/nextgen-gallery/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS