CVE-2025-13848

STM Gallery 1.9 <= 0.9 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes

Published Jan 7, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
The STM Gallery 1.9 plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'composicion' parameter in all versions up to, and including, 0.9 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Analysis

AI-generated

Technical impact

The STM Gallery plugin is vulnerable to stored cross‑site scripting through the composicion parameter in all versions up to 0.9 due to insufficient input sanitization and output escaping. An authenticated attacker with Contributor or higher access can inject arbitrary JavaScript that executes whenever a user views an affected page.

Affected Systems

The vulnerability affects the STM Gallery plugin for WordPress, developed by sergiotoca, in all releases up to and including version 0.9. The issue resides in how the plugin processes the composicion shortcode attribute without proper sanitization.

Risk and Exploitability

The CVSS score of 6.4 indicates a moderate severity. The EPSS score is less than 1%, suggesting a low but nonzero probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires that an attacker has authenticated Contributor-level access or higher, after which they can inject malicious scripts into pages that will run for any user who loads the compromised content.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade STM Gallery to the latest version that includes proper input sanitization for the composicion parameter.
  • If an immediate upgrade is not possible, apply a content filter that sanitizes or removes the composicion attribute before rendering the shortcode.
  • Restrict Contributor users from editing or creating shortcodes or temporarily revoke Contributor capabilities until the plugin is patched.
  • Regularly audit pages for unexpected script injection to detect any residual or new XSS payloads.

Generated by OpenCVE AI on April 22, 2026 at 00:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Sergiotoca
Sergiotoca stm Gallery
Wordpress
Wordpress wordpress
Vendors & Products Sergiotoca
Sergiotoca stm Gallery
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description The STM Gallery 1.9 plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'composicion' parameter in all versions up to, and including, 0.9 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Title STM Gallery 1.9 <= 0.9 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes
Weaknesses CWE-79
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 4:46 PM
Reserved
Dec 1, 2025, 7:47 PM
Status
Deferred
Published
Jan 7, 2026, 12:16 PM
Modified
Jun 17, 2026, 8:34 AM