Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-13848: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in sergiotoca STM Gallery 1.9

0
Medium
VulnerabilityCVE-2025-13848cvecve-2025-13848cwe-79
Published: Wed Jan 07 2026 (01/07/2026, 09:20:54 UTC)
Source: CVE Database V5
Vendor/Project: sergiotoca
Product: STM Gallery 1.9

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.

AI-Powered Analysis

AILast updated: 01/07/2026, 12:09:26 UTC

Technical Analysis

CVE-2025-13848 identifies a stored Cross-Site Scripting (XSS) vulnerability in the STM Gallery 1.9 plugin for WordPress, specifically affecting all versions up to and including 0.9. The vulnerability arises from insufficient sanitization and escaping of the 'composicion' parameter, which allows authenticated users with Contributor-level permissions or higher to inject arbitrary JavaScript code into web pages. When other users access these pages, the malicious scripts execute in their browsers, potentially leading to session hijacking, privilege escalation, or unauthorized actions within the context of the affected site. The vulnerability is classified under CWE-79, indicating improper neutralization of input during web page generation. The CVSS 3.1 base score is 6.4, reflecting a medium severity with network attack vector, low attack complexity, requiring privileges but no user interaction, and impacting confidentiality and integrity with a scope change. No patches are currently linked, and no known exploits have been reported in the wild, but the vulnerability poses a risk to WordPress sites using this plugin, especially those with multiple authenticated contributors. The vulnerability's exploitation requires authenticated access, limiting exposure to internal or trusted users, but the potential for persistent script injection makes it a significant threat to site integrity and user trust.

Potential Impact

For European organizations, this vulnerability can lead to unauthorized script execution within trusted WordPress environments, potentially compromising user credentials, session tokens, or enabling further attacks such as privilege escalation or data manipulation. Organizations relying on STM Gallery 1.9 in their content management workflows may face risks of data leakage or defacement. Since contributors can inject scripts, insider threats or compromised contributor accounts increase risk. The impact is particularly relevant for organizations with collaborative content creation, such as media companies, educational institutions, and government agencies. The vulnerability does not directly affect availability but can undermine user trust and lead to reputational damage. Additionally, GDPR implications arise if personal data is exposed or manipulated due to the vulnerability. The medium severity score reflects a moderate but actionable risk that requires timely mitigation to prevent exploitation.

Mitigation Recommendations

Immediate mitigation should include restricting Contributor-level access to trusted users only and auditing existing contributor accounts for suspicious activity. Implement strict input validation and output encoding on the 'composicion' parameter to prevent script injection. Since no official patches are currently linked, organizations should monitor vendor advisories for updates and apply patches promptly once available. Employ Web Application Firewalls (WAFs) with rules targeting stored XSS patterns to detect and block malicious payloads. Conduct regular security reviews of WordPress plugins and consider disabling or replacing STM Gallery 1.9 if it is not essential. Educate content contributors about secure content practices and the risks of injecting untrusted code. Finally, implement Content Security Policy (CSP) headers to reduce the impact of any injected scripts by restricting script sources.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2025-12-01T19:47:08.297Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 695e4c117349d0379d7d5687

Added to database: 1/7/2026, 12:05:37 PM

Last enriched: 1/7/2026, 12:09:26 PM

Last updated: 1/9/2026, 2:11:39 AM

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats