Skip to main content
EPSS 0.2%top 87%

CVE-2026-104652: CWE-79 Cross-Site Scripting (XSS) in Envira Gallery

0
Medium
VulnerabilityCVE-2026-104652cvecve-2026-104652cwe-79
Published: 10/07/2026 (10/07/2026, 06:00:05 UTC)
Source: CVE Database V5
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H

Affected software

Envira Gallery

Affected versions
>=0 <1.16.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/07/2026, 06:48:54 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses