CVE-2025-13848: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in sergiotoca STM Gallery 1.9
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 Analysis
Technical Summary
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.
Affected Countries
Germany, United Kingdom, France, Netherlands, Italy, Spain, Poland
CVE-2025-13848: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in sergiotoca 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
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.
Affected Countries
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 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.
Related Threats
CVE-2026-22714: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in The Wikimedia Foundation Mediawiki - Monaco Skin
LowCVE-2026-22710: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in The Wikimedia Foundation Mediawiki - Wikibase Extension
LowCVE-2026-0733: SQL Injection in PHPGurukul Online Course Registration System
MediumCVE-2026-0732: Command Injection in D-Link DI-8200G
MediumCVE-2026-0731: NULL Pointer Dereference in TOTOLINK WA1200
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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.