CVE-2026-5361: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in smub Envira Gallery – Image Photo Gallery, Albums, Video Gallery, Slideshows & More
CVE-2026-5361 is a stored cross-site scripting (XSS) vulnerability in the Envira Gallery Lite WordPress plugin versions up to 1. 12. 4. The issue arises from insufficient input sanitization and improper output escaping of the 'arrows' parameter in the plugin's REST API. Authenticated users with Author-level access or higher can inject arbitrary JavaScript that executes when other users view the affected pages. The vulnerability has a CVSS score of 6. 4, indicating medium severity. No official patch or remediation guidance is currently available from the vendor.
AI Analysis
Technical Summary
The Envira Gallery Lite plugin for WordPress suffers from a stored XSS vulnerability due to inadequate sanitization of the 'arrows' parameter in the update_gallery_data() function and improper escaping in the gallery_init() function. While some parameters are sanitized, the 'arrows' parameter is not, and its value is output in inline JavaScript using esc_attr(), which is insufficient for JavaScript contexts. This allows authenticated attackers with Author-level privileges or higher to inject malicious scripts via the REST API, which execute when users access the injected gallery pages.
Potential Impact
An attacker with Author-level or higher privileges can inject arbitrary JavaScript code into gallery pages, potentially leading to session hijacking, defacement, or other malicious actions executed in the context of users viewing the compromised pages. The vulnerability does not affect availability but impacts confidentiality and integrity. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict Author-level access to trusted users only to reduce risk. Avoid exposing the vulnerable plugin on publicly accessible sites or disable the plugin if possible. Monitor for vendor updates regarding patches or official mitigations.
CVE-2026-5361: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in smub Envira Gallery – Image Photo Gallery, Albums, Video Gallery, Slideshows & More
Description
CVE-2026-5361 is a stored cross-site scripting (XSS) vulnerability in the Envira Gallery Lite WordPress plugin versions up to 1. 12. 4. The issue arises from insufficient input sanitization and improper output escaping of the 'arrows' parameter in the plugin's REST API. Authenticated users with Author-level access or higher can inject arbitrary JavaScript that executes when other users view the affected pages. The vulnerability has a CVSS score of 6. 4, indicating medium severity. No official patch or remediation guidance is currently available from the vendor.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Envira Gallery Lite plugin for WordPress suffers from a stored XSS vulnerability due to inadequate sanitization of the 'arrows' parameter in the update_gallery_data() function and improper escaping in the gallery_init() function. While some parameters are sanitized, the 'arrows' parameter is not, and its value is output in inline JavaScript using esc_attr(), which is insufficient for JavaScript contexts. This allows authenticated attackers with Author-level privileges or higher to inject malicious scripts via the REST API, which execute when users access the injected gallery pages.
Potential Impact
An attacker with Author-level or higher privileges can inject arbitrary JavaScript code into gallery pages, potentially leading to session hijacking, defacement, or other malicious actions executed in the context of users viewing the compromised pages. The vulnerability does not affect availability but impacts confidentiality and integrity. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict Author-level access to trusted users only to reduce risk. Avoid exposing the vulnerable plugin on publicly accessible sites or disable the plugin if possible. Monitor for vendor updates regarding patches or official mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-04-01T17:20:59.284Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a0554cfcbff5d86106db25c
Added to database: 5/14/2026, 4:51:27 AM
Last enriched: 5/14/2026, 5:06:31 AM
Last updated: 5/14/2026, 6:05:02 AM
Views: 3
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.
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.