CVE-2026-104652: CWE-79 Cross-Site Scripting (XSS) in Envira Gallery
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.
CVSS v3.1
Score 6.8medium
Affected software
Envira Gallery
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-104652 is a cross-site scripting (CWE-79) vulnerability in the Envira Gallery WordPress plugin prior to version 1.16.1. The flaw arises from improper sanitization and escaping of a gallery item identifier before it is output in an image tag attribute. This allows users with Author role or higher to inject malicious scripts that execute in the context of any visitor viewing the affected gallery page, potentially leading to session hijacking or other script-based attacks.
Potential Impact
An attacker with Author or higher privileges can inject arbitrary JavaScript that executes in the browsers of any visitor, including administrators, who view a page embedding the vulnerable gallery. This can lead to unauthorized actions performed on behalf of the victim, theft of sensitive information, or other malicious activities enabled by script execution in the victim's browser.
Mitigation Recommendations
A fix is available in Envira Gallery version 1.16.1. Users should update to version 1.16.1 or later to remediate this vulnerability. Until updated, restrict Author-level user privileges and avoid embedding galleries on pages accessible to untrusted users.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- WPScan
- Date Reserved
- 2026-10-02T06:47:36.322Z
- State
- PUBLISHED
Threat ID: 6ac5e7d82cdf04f65621e1ee
Added to database: 10/07/2026, 06:34:00 UTC
Last enriched: 10/07/2026, 06:48:54 UTC
Last updated: 10/07/2026, 18:56:12 UTC
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.