Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | CVSS 6.4 (Medium) with network vector, low complexity, and low privilege requirement (PR:L) reflects a moderately exploitable vulnerability that requires authentication but affects site visitors via stored payload. EPSS data is not provided, but the exploitation probability is high given that (1) the attack requires only Author-level access, a role commonly held by multiple site contributors; (2) the injection mechanism bypasses existing sanitization due to design flaw rather than missing sanitization; and (3) the payload executes server-side at render time with no additional user interaction. The scope change (S:C) indicates cross-site impact affecting users viewing the gallery, not just the attacker. Against SSVC criteria: exploitation is straightforward (fixable by attacker-controlled post_meta), automatable (no manual steps required once gallery is created), and technical impact is high (account takeover, data theft, malware injection possible through stored XSS). However, real-world risk is gated by the requirement for Author or higher role-in single-author or tightly-controlled WordPress instances, risk is lower; in multi-author or plugin-enabled community sites, risk is substantially higher. This is a legitimate priority for sites with multiple content contributors. |
| Exploit ScenarioDerived | An attacker with Author-level credentials on a WordPress site (or a compromised Author account) navigates to a Robo Gallery gallery's edit screen, locates the Loading Label field, and enters |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 08, 2026
Stored cross-site scripting in Robo Gallery for WordPress up to version 5.1.3 allows authenticated Author-level users to inject arbitrary JavaScript via the Loading Label gallery setting. The vulnerability exploits a custom marker pattern (|*...*|) in the fixJsFunction() method that converts JSON-wrapped strings into raw JavaScript code; input validation with sanitize_text_field() fails to strip the markers, enabling script injection that executes whenever the gallery shortcode is rendered. No public exploit code or active exploitation has been confirmed at time of analysis.
RemediationAI
Upgrade Robo Gallery to a patched version released after 5.1.3 when available. In the interim, disable gallery creation permissions for untrusted Author-level users, restricting creation to Editors or Administrators only, or deactivate the plugin if not actively used. Site administrators should review all existing galleries for suspicious Loading Label values containing unusual markers or JavaScript keywords (alert, eval, fetch, XMLHttpRequest, etc.) via the post_meta table or gallery edit interface. The plugin developer should update sanitize_text_field() to explicitly strip the |* and *| markers before storage, or redesign the configuration encoding to use a safer abstraction (e.g., boolean flags or enum values instead of marker-based string transformation). Refer to the Wordfence threat intelligence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/d8693b7d-693f-450a-89ef-e936a8813ca9?source=cve for additional context and monitoring recommendations.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The Robo Gallery plugin uses a non-standard approach to embed JavaScript function references within JSON configuration objects. The fixJsFunction() method in jsoptions.php processes gallery options by searching for the |*...*| marker pattern and stripping the surrounding quote and marker characters, converting what PHP's json_encode() wrapped as a string value into executable JavaScript. The Loading Label field (rbs_gallery_LoadingWord post_meta) is an rbstext field type sanitized via WordPress's sanitize_text_field() function on save. While this removes HTML tags, it does not filter the pipe, asterisk, or other characters in the |*...*| pattern since they are not HTML. When the gallery renders via renderMainBlock() in layout.v1.php and grid.v1.php, configuration data is embedded in an inline <script> tag with the markers stripped-causing any payload within the markers to execute as JavaScript. The root cause is improper output encoding combined with a secondary input validation bypass; the markers were intended as a safe abstraction but lack adequate sanitization. This falls under CWE-79 (Cross-site Scripting) because user-controlled input reaches the browser without proper escaping.
Know when Robo Gallery Photo Image Slider gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Primary rating from Vendor (Wordfence) · only source for this CVE.
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Robo Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'Loading Label' setting in all versions up to, and including, 5.1.3. The plugin uses a custom |*...*| marker pattern in its fixJsFunction() method to embed raw JavaScript function references within JSON-encoded configuration objects. When a gallery's options are rendered on the frontend, json_encode() wraps all string values in double quotes. The fixJsFunction() method then strips the "|* and *|" sequences, effectively converting a JSON string value into raw JavaScript code. The Loading Label field (stored as rbs_gallery_LoadingWord post_meta) is an rbstext type field that is sanitized with sanitize_text_field() on save. While this strips HTML tags, it does not strip the |*...*| markers since they contain no HTML. When a user inputs |*alert(document.domain)*|, the value passes through sanitization intact, is stored in post_meta, and is later retrieved and output within an inline <script> tag via renderMainBlock() with the quote markers stripped - resulting in arbitrary JavaScript execution. The gallery post type uses capability_type => 'post', allowing Author-level users to create galleries. 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 a page containing the gallery shortcode.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-20435
GHSA-f324-cf3c-hqgv
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB