CVE-2026-4300: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in robosoft Robo Gallery – Photo & Image Slider
CVE-2026-4300 is a stored cross-site scripting (XSS) vulnerability in the Robo Gallery – Photo & Image Slider WordPress plugin up to version 5. 1. 3. The vulnerability arises from improper handling of a custom marker pattern used to embed JavaScript code within JSON-encoded configuration objects. An authenticated user with Author-level permissions can inject arbitrary JavaScript via the 'Loading Label' setting, which is sanitized insufficiently and later rendered in an inline script tag with markers stripped, enabling script execution in visitors' browsers. This can lead to limited confidentiality and integrity impacts without requiring user interaction beyond visiting the affected page. The CVSS 3. 1 base score is 6. 4 (medium severity). No official patch or remediation guidance is currently available from the vendor.
AI Analysis
Technical Summary
The Robo Gallery plugin for WordPress versions up to 5.1.3 contains a stored cross-site scripting vulnerability (CWE-79) via the 'Loading Label' setting. This setting is sanitized using sanitize_text_field(), which removes HTML tags but does not remove the custom marker pattern '|***...***|'. The plugin uses a fixJsFunction() method that strips these markers from JSON-encoded strings to embed raw JavaScript code. An attacker with Author-level privileges can inject JavaScript code wrapped in these markers, which is stored in post_meta and later output in an inline script block with the markers removed, resulting in arbitrary JavaScript execution in users' browsers. The vulnerability requires authenticated access at the Author level or higher and does not require user interaction beyond page load. The CVSS 3.1 score is 6.4, indicating a medium severity vulnerability with network attack vector, low attack complexity, and privileges required at the Author level.
Potential Impact
An authenticated attacker with Author-level permissions can inject arbitrary JavaScript code into pages containing the vulnerable gallery shortcode. This can lead to execution of malicious scripts in the context of users visiting those pages, potentially compromising confidentiality and integrity of user sessions or data accessible via the browser. The vulnerability does not affect availability. 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 user permissions to trusted users only and consider removing or disabling the Robo Gallery plugin if possible. Monitor vendor channels for updates and apply patches promptly once available.
CVE-2026-4300: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in robosoft Robo Gallery – Photo & Image Slider
Description
CVE-2026-4300 is a stored cross-site scripting (XSS) vulnerability in the Robo Gallery – Photo & Image Slider WordPress plugin up to version 5. 1. 3. The vulnerability arises from improper handling of a custom marker pattern used to embed JavaScript code within JSON-encoded configuration objects. An authenticated user with Author-level permissions can inject arbitrary JavaScript via the 'Loading Label' setting, which is sanitized insufficiently and later rendered in an inline script tag with markers stripped, enabling script execution in visitors' browsers. This can lead to limited confidentiality and integrity impacts without requiring user interaction beyond visiting the affected page. The CVSS 3. 1 base score is 6. 4 (medium severity). No official patch or remediation guidance is currently available from the vendor.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Robo Gallery plugin for WordPress versions up to 5.1.3 contains a stored cross-site scripting vulnerability (CWE-79) via the 'Loading Label' setting. This setting is sanitized using sanitize_text_field(), which removes HTML tags but does not remove the custom marker pattern '|***...***|'. The plugin uses a fixJsFunction() method that strips these markers from JSON-encoded strings to embed raw JavaScript code. An attacker with Author-level privileges can inject JavaScript code wrapped in these markers, which is stored in post_meta and later output in an inline script block with the markers removed, resulting in arbitrary JavaScript execution in users' browsers. The vulnerability requires authenticated access at the Author level or higher and does not require user interaction beyond page load. The CVSS 3.1 score is 6.4, indicating a medium severity vulnerability with network attack vector, low attack complexity, and privileges required at the Author level.
Potential Impact
An authenticated attacker with Author-level permissions can inject arbitrary JavaScript code into pages containing the vulnerable gallery shortcode. This can lead to execution of malicious scripts in the context of users visiting those pages, potentially compromising confidentiality and integrity of user sessions or data accessible via the browser. The vulnerability does not affect availability. 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 user permissions to trusted users only and consider removing or disabling the Robo Gallery plugin if possible. Monitor vendor channels for updates and apply patches promptly once available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-03-16T19:53:16.672Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d6330f1cc7ad14da5fceb0
Added to database: 4/8/2026, 10:50:55 AM
Last enriched: 4/15/2026, 1:50:45 PM
Last updated: 5/23/2026, 11:00:52 PM
Views: 59
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.