CVE-2026-104653 Envira Gallery < 1.16.1 - Author+ Stored XSS via Gallery Crop Dimensions
Authors can inject scripts via gallery settings that execute for all visitors, including admins, in Envira Gallery plugin.
- 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-104653?
CVE-2026-104653 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 or escape user-supplied gallery display configuration values before storing them and outputting them 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 containing the affected gallery.
Weakness: CWE-79
Which versions are affected by CVE-2026-104653?
How do I fix CVE-2026-104653?
No fix has been published for CVE-2026-104653 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-104653 being exploited?
There is no known exploitation of CVE-2026-104653 in the wild and no public exploit code.
Sources
Also known as GHSA-2475-cpcf-ghxx.