Stored cross-site scripting in Envira Gallery via gallery image ID
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-79.
Summary
The Envira Gallery WordPress plugin before 1.16.1 does not sanitise or escape a gallery item identifier before outputting it in an image tag attribute, which is a cross-site scripting flaw (CWE-79). An attacker with the Author role or higher can inject web scripts that run when any visitor, including an administrator, views a page that embeds the gallery. The references include an exploit link.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Unknown | Envira Gallery | before 1.16.1 | 1.16.1 | Patch available | CNA |
- Envira Gallery VendorUnknown Affected before 1.16.1 Fixed in 1.16.1 Patch available CNA
Remediation
Update Envira Gallery to version 1.16.1, which fixes the flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
- Fix · CNA Envira Gallery (Unknown) Fixed in 1.16.1
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Envira Gallery 1.16.1
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2026-69031 Stored cross-site scripting in Envira Gallery via gallery crop dimensionsPriority LOW 31
Timeline
- 2026-10-07 Threatist record created from CVE-2026-104652
- 2026-10-07 Alias added: GHSA-8g3x-h6fx-23x5
- 2026-10-07 CVSS score added · CISA ADP
- 2026-10-07 Weakness changed · CISA ADP
- 2026-10-07 CISA SSVC decision points changed
References
Sources
- CVE-2026-104652 · CVE Program
- CVE-2026-104652 · NVD
- FIRST EPSS
- GHSA-8g3x-h6fx-23x5 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences