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-13856: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in michaelcole1991 Extra Post Images

0
Medium
VulnerabilityCVE-2025-13856cvecve-2025-13856cwe-79
Published: Sat Dec 06 2025 (12/06/2025, 05:49:33 UTC)
Source: CVE Database V5
Vendor/Project: michaelcole1991
Product: Extra Post Images

Description

The Extra Post Images plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'id' parameter of the extra-images shortcode in all versions up to, and including, 1.0 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: 12/13/2025, 07:07:16 UTC

Technical Analysis

CVE-2025-13856 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Extra Post Images plugin for WordPress, developed by michaelcole1991. The vulnerability arises from improper neutralization of input during web page generation, specifically through the 'id' parameter of the extra-images shortcode. All versions up to and including 1.0 are affected due to insufficient input sanitization and output escaping. An attacker with authenticated Contributor-level access or higher can inject arbitrary JavaScript code into posts or pages by manipulating this parameter. Because the malicious script is stored, it executes every time any user accesses the infected page, potentially leading to session hijacking, credential theft, or unauthorized actions performed in the context of the victim's browser. The vulnerability has a CVSS 3.1 base score of 6.4, indicating medium severity, with an attack vector over the network, low attack complexity, requiring privileges, no user interaction, and scope change. No public exploits have been reported yet, but the risk remains significant due to the widespread use of WordPress and the plugin's functionality that allows contributors to add images via shortcode. The vulnerability underscores the importance of proper input validation and output encoding in WordPress plugins to prevent injection attacks.

Potential Impact

For European organizations, this vulnerability poses a moderate risk primarily to websites running WordPress with the Extra Post Images plugin installed. Exploitation could lead to unauthorized script execution in users' browsers, enabling session hijacking, defacement, or data theft. This is particularly concerning for organizations relying on WordPress for content management with multiple contributors, such as media companies, educational institutions, and government agencies. The compromise of user sessions could lead to unauthorized access to sensitive information or administrative functions. Additionally, reputational damage and loss of user trust could result from visible site defacements or data breaches. Since the attack requires authenticated contributor access, insider threats or compromised contributor accounts increase the risk. The vulnerability does not affect availability directly but impacts confidentiality and integrity of user data and site content.

Mitigation Recommendations

European organizations should implement the following specific mitigations: 1) Immediately audit WordPress sites for the presence of the Extra Post Images plugin and restrict contributor-level access to trusted users only. 2) Apply strict input validation and output escaping for the 'id' parameter in the shortcode, either by updating the plugin if a patch becomes available or by implementing custom filters to sanitize inputs. 3) Monitor shortcode usage in posts and pages for suspicious or unexpected parameters that may indicate exploitation attempts. 4) Employ Web Application Firewalls (WAFs) with rules to detect and block XSS payloads targeting shortcode parameters. 5) Educate contributors on secure content practices and the risks of injecting untrusted code. 6) Regularly update WordPress core and plugins to incorporate security patches. 7) Consider disabling or replacing the Extra Post Images plugin if it is not essential or if no patch is available. These steps go beyond generic advice by focusing on access control, input sanitization specific to the vulnerable parameter, and proactive monitoring.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2025-12-01T20:30:56.208Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6933c71e11163305efef3de5

Added to database: 12/6/2025, 6:03:10 AM

Last enriched: 12/13/2025, 7:07:16 AM

Last updated: 2/4/2026, 5:07:30 AM

Views: 30

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