CVE-2026-104652

Envira Gallery < 1.16.1 - Author+ Stored XSS via Gallery Image ID

Published Oct 7, 2026 CVSS 3.1 · 6.8 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Envira Gallery WordPress plugin fails to sanitize the gallery item identifier before placing it in an image tag attribute. A user with the Author role or higher can inject arbitrary JavaScript into that identifier. When any visitor opens a page that includes the gallery, the injected script executes in the visitor’s browser. This client‑side execution can potentially enable cookie theft, page hijacking, or other malicious actions, but the impact is limited to the victim’s browser without direct server access.

Affected Systems

WordPress sites that use the Envira Gallery plugin in any version before 1.16.1. A user with the Author role or higher must create or edit a gallery containing the displaying the gallery will be affected.

Risk and Exploitability

The flaw carries a medium severity score of 6.8 according to CVSS. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog, indicating no confirmed active exploitation reports. The likely attack vector requires a legitimate user with the Author role to inject content, after which every visitor to the gallery will be affected. The broad deployment of the plugin across WordPress sites means potential risk remains considerable, even though exploitation probability is uncertain.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Envira Gallery WordPress plugin to version 1.16.1 or newer.
  • If an immediate update is not possible, disable or remove the gallery functionality from affected pages until the patch can be applied.
  • Restrict the use of the Author role or other roles that can create or edit galleries, limiting the opportunity for malicious injection.

Generated by OpenCVE AI on October 7, 2026 at 12:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Wordpress-extensions
Wordpress-extensions envira Gallery
Vendors & Products Wordpress-extensions
Wordpress-extensions envira Gallery
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-79
Type Values Removed Values Added
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.
Title Envira Gallery < 1.16.1 - Author+ Stored XSS via Gallery Image ID
References
Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
WPScan
Published
Updated
Oct 7, 2026, 9:56 AM
Reserved
Oct 2, 2026, 6:47 AM
Status
Deferred
Published
Oct 7, 2026, 7:16 AM
Modified
Oct 7, 2026, 2:52 PM