CVE-2026-5361
Last modified
CVE-2026-5361 is a medium-severity vulnerability rated 6.4/10 on the CVSS scale. 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. EPSS estimates a 0.35% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-5361?
How severe is CVE-2026-5361?
How do I fix CVE-2026-5361?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-53603nebula-mesh is a self-hosted control plane for Slack Nebula …7.1
- CVE-2026-53604nebula-mesh is a self-hosted control plane for Slack Nebula …7.1
- CVE-2026-53606ApostropheCMS is an open-source Node.js content management s…5.4
- CVE-2026-53607ApostropheCMS is an open-source Node.js content management s…3.7
- CVE-2026-53608ApostropheCMS is an open-source Node.js content management s…8.7
- CVE-2026-53609ApostropheCMS is an open-source Node.js content management s…9.1
- CVE-2026-53610GLPI is a free asset and IT management software package. Fro…7.5
- CVE-2026-53611Looking Glass is a modern, stateless network-diagnostic plat…9.8
- CVE-2026-5362An authenticated attacker with permission to edit document c…5.4
- CVE-2026-53620GROWI contains a vulnerability with an authorization bypass …5.3
- CVE-2026-53622Traefik is an HTTP reverse proxy and load balancer. Versions…10
- CVE-2026-53624Fiber is an Express inspired web framework written in Go. Pr…4.8
Are you affected by CVE-2026-5361?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
