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.
Published: 2026-10-07
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Immediate Patch
AI Analysis

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.

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

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 yet.

History

Fri, 09 Oct 2026 09:15:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress-extensions
Wordpress-extensions envira Gallery
Vendors & Products Wordpress-extensions
Wordpress-extensions envira Gallery

Wed, 07 Oct 2026 10:30:00 +0000

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'}


Wed, 07 Oct 2026 08:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-79

Wed, 07 Oct 2026 06:30:00 +0000

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

Subscriptions

Wordpress-extensions Envira Gallery
cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published:

Updated: 2026-10-07T09:56:12.270Z

Reserved: 2026-10-02T06:47:36.322Z

Link: CVE-2026-104652

cve-icon Vulnrichment

Updated: 2026-10-07T09:55:18.955Z

cve-icon NVD

Status : Deferred

Published: 2026-10-07T07:16:57.960

Modified: 2026-10-07T14:52:43.420

Link: CVE-2026-104652

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-09T08:30:12Z

Weaknesses
  • CWE-79

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