Home / smub / Envira Gallery – Image Photo Gallery, Albums, Video Gallery, Slideshows & More / CVE-2026-5361
CVE-2026-5361: is it exploited, and which versions of smub Envira Gallery – Image Photo Gallery, Albums, Video Gallery, Slideshows & More are affected and fixed?
CVE-2026-5361 is a cross-site scripting (XSS) vulnerability in smub Envira Gallery – Image Photo Gallery, Albums, Video Gallery, Slideshows & More. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: Envira Gallery – Image Photo Gallery, Albums, Video Gallery, Slideshows & More through 1.12.4 (CVE record by Wordfence). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.4, CVSS 3.1, from Wordfence).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-5361?
Envira Gallery <= 1.12.4 - Authenticated (Author+) Stored Cross-Site Scripting via 'arrows' Parameter
The Envira Gallery Lite plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the REST API in versions up to and including 1.12.4. This is due to insufficient input sanitization in the update_gallery_data() function and improper output escaping in the gallery_init() function. The sanitize_config_values() function only sanitizes the justified_gallery_theme and justified_row_height parameters, but does not sanitize the arrows parameter. When the arrows value is output in the inline JavaScript configuration, it uses esc_attr() which is designed for HTML attribute contexts, not JavaScript contexts, allowing JavaScript expression injection. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
From the CVE record by Wordfence, last updated May 14, 2026, 10:47 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| smub | Envira Gallery – Image Photo Gallery, Albums, Video Gallery, Slideshows & More | through 1.12.4 |
As the CVE record by Wordfence states it, last updated May 14, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-5361?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N | Wordfence |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-5361 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, May 14, 2026)
- EPSS
- 0.35% probability of exploitation activity in the next 30 days, percentile 30.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://www.wordfence.com/threat-intel/vulnerabilities/id/d2b1e973-f22d-4e69-b3b8-d6ea5df3f047?source=cve
- https://plugins.trac.wordpress.org/browser/envira-gallery-lite/trunk/includes/global/shortcode.php#L1067
- https://plugins.trac.wordpress.org/browser/envira-gallery-lite/tags/1.12.4/includes/global/shortcode.php#L1067
- https://plugins.trac.wordpress.org/browser/envira-gallery-lite/trunk/includes/global/rest.php#L163
- https://plugins.trac.wordpress.org/browser/envira-gallery-lite/tags/1.12.4/includes/global/rest.php#L163
- https://plugins.trac.wordpress.org/changeset/3514026/envira-gallery-lite/trunk/includes/global/shortcode.php?old=3465371&old_path=envira-gallery-lite%2Ftrunk%2Fincludes%2Fglobal%2Fshortcode.php
Who found and reported it?
- Athiwat Tiprasaharn (finder)
- Itthidej Aramsri (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 1, 2026
- Published
- May 14, 2026, 03:27 UTC
- CVE record updated
- May 14, 2026, 10:47 UTC by Wordfence
- NVD
- Deferred, last modified June 17, 2026, 10:58 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Envira Gallery – Image Photo Gallery, Albums, Video Gallery, Slideshows & More?
- Aug 28, 2026CVE-2026-3423 smub Envira Gallery – Image Photo Gallery, Albums, Video Gallery, Slideshows & More: cross-site scripting (XSS)
- Mar 4, 2026CVE-2026-1236 smub Envira Gallery – Image Photo Gallery, Albums, Video Gallery, Slideshows & More: cross-site scripting (XSS)
- Nov 13, 2025CVE-2025-12377 smub Envira Gallery – Image Photo Gallery, Albums, Video Gallery, Slideshows & More: missing authorization
- Nov 8, 2025CVE-2025-11448 smub Envira Gallery – Image Photo Gallery, Albums, Video Gallery, Slideshows & More: missing authorization
- Dec 4, 2024CVE-2024-5020 extendthemes Colibri Page Builder: cross-site scripting (XSS)
- Jan 11, 2024CVE-2023-6742 smub Envira Gallery – Image Photo Gallery, Albums, Video Gallery, Slideshows & More: missing authorization
Every CVE in Envira Gallery – Image Photo Gallery, Albums, Video Gallery, Slideshows & More
Questions about CVE-2026-5361
Is CVE-2026-5361 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.35% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of smub Envira Gallery – Image Photo Gallery, Albums, Video Gallery, Slideshows & More are affected by CVE-2026-5361?
Envira Gallery – Image Photo Gallery, Albums, Video Gallery, Slideshows & More through 1.12.4, per the CVE record by Wordfence. The tables above give every range the sources list.
Which version fixes CVE-2026-5361?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-5361?
Medium (6.4, CVSS 3.1, from Wordfence). The severity table above shows each score with its source.
Where is the official record of CVE-2026-5361?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.