CVE-2026-104652 Envira Gallery < 1.16.1 - Author+ Stored XSS via Gallery Image ID
Authors can inject scripts via gallery IDs, executing code in admin browsers to potentially take over accounts.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-104652?
CVE-2026-104652 is a medium-severity cross-site scripting vulnerability in Unknown Envira Gallery, published on 7 Oct 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
The Envira Gallery WordPress plugin before 1.16.1 does not sanitise and escape a gallery item identifier before outputting it in an image tag attribute, allowing users with the Author role and above to inject arbitrary web scripts that execute when any visitor, including an administrator, views a page embedding the gallery.
Weakness: CWE-79
Which versions are affected by CVE-2026-104652?
How do I fix CVE-2026-104652?
No fix has been published for CVE-2026-104652 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-104652 being exploited?
There is no known exploitation of CVE-2026-104652 in the wild and no public exploit code.
Sources
Also known as GHSA-8g3x-h6fx-23x5.