CVE-2026-81154

Robo Gallery < 5.2.6 - Author+ Stored XSS via Image Alt Text

Published Oct 11, 2026 CVSS 3.1 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
The Robo Gallery WordPress plugin before 5.2.6 does not sanitise and escape image alt text before outputting it in one of its gallery layouts, allowing users with the Author role and above to perform Stored Cross-Site Scripting attacks that execute in the browser of any user viewing the affected gallery, including administrators.

Analysis

AI-generated

Technical impact

The Robo Gallery WordPress plugin fails to escape image alt attributes before rendering them in gallery layouts, allowing an attacker with the Author role or higher to inject arbitrary JavaScript into the alt text of an uploaded image. When a victim opens the gallery, the malicious script executes in the victim’s browser, enabling session hijacking, defacement, or phishing. The vulnerability is classified as CWE‑79.

Affected Systems

All WordPress installations that use Robo Gallery before version 5.2.6 are affected. The issue appears in the gallery view that displays image alt text; sites that have upgraded to 5.2.6 or later are no longer vulnerable.

Risk and Exploitability

With a CVSS score of 6.8 the flaw represents moderate severity, while an EPSS score of less than 1 % indicates a low probability of exploitation at present, and it is not listed in the CISA KEV catalog. Attackers must be authenticated as an Author or higher, a role commonly available to many site contributors. Once logged in, the attacker can upload or edit an image with malicious alt text; any visitor to the gallery will then have the payload executed in their browser. The flaw therefore allows malicious code execution within the context of the website and can be leveraged for further lateral moves if higher privileges are later obtained.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Robo Gallery to version 5.2.6 or later, which sanitises image alt text before output
  • If an upgrade is not immediately possible, reconfigure the plugin or employ a role‑management solution to remove the ability for authors to edit image metadata, thereby preventing alt text injection
  • As a temporary measure, apply server‑side sanitisation to the alt text field using WordPress functions such as sanitize_text_field or wp_filter_post_kses before the value is stored

Generated by OpenCVE AI on October 11, 2026 at 16:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-79
Type Values Removed Values Added
Description The Robo Gallery WordPress plugin before 5.2.6 does not sanitise and escape image alt text before outputting it in one of its gallery layouts, allowing users with the Author role and above to perform Stored Cross-Site Scripting attacks that execute in the browser of any user viewing the affected gallery, including administrators.
Title Robo Gallery < 5.2.6 - Author+ Stored XSS via Image Alt Text
References

Subscriptions

No data.

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
WPScan
Published
Updated
Oct 11, 2026, 11:32 AM
Reserved
Aug 26, 2026, 4:18 PM
Status
Deferred
Published
Oct 11, 2026, 7:17 AM
Modified
Oct 13, 2026, 8:36 PM