Envira Gallery <= 1.17.1 - Authenticated (Author+) Stored Cross-Site Scripting via Gallery Image Titles
- ID
- WPSEC-2026-4449
- Plugin
- Envira Gallery – Image Photo Gallery, Albums, Video Gallery, Slideshows & More (envira-gallery-lite)
- Affected
- all versions before 1.17.2
- Remediation
- Update to 1.17.2 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-12-03
- Attack surface
- Envira Gallery on WPSec AttackSurface
- Fix released
- Published
Description
The Envira Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via gallery image titles (which Envira Gallery Lite also uses as captions) in all versions up to, and including, 1.17.1. This is due to the lightbox title formatter entity-decoding the title it reads from the gallery link's attributes and inserting the result into the page as HTML. Entity-encoded markup in an image title is therefore decoded into live HTML. This makes it possible for authenticated attackers, with author-level access and above (the default gallery editing permission), to inject arbitrary web scripts that execute when a user opens the affected image in the lightbox.
References
- https://wpsec.com/vuln/WPSEC-2026-4449/
- https://plugins.svn.wordpress.org/envira-gallery-lite/tags/1.17.2/
- https://wordpress.org/plugins/envira-gallery-lite/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS