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

Machine-generated threat intelligence

AILast updated: 02/27/2026, 10:23:49 UTC

Technical Analysis

CVE-2025-13856 is a stored Cross-Site Scripting (XSS) vulnerability classified under CWE-79, found in the Extra Post Images plugin for WordPress developed by michaelcole1991. The vulnerability exists due to insufficient input sanitization and output escaping of the 'id' parameter within the extra-images shortcode. This flaw allows authenticated users with Contributor-level permissions or higher to inject arbitrary JavaScript code into WordPress pages. Because the malicious script is stored persistently, it executes every time a user accesses the compromised page, potentially affecting site visitors and administrators alike. The vulnerability does not require user interaction beyond visiting the page, and no higher privileges than Contributor are needed to exploit it. The CVSS 3.1 base score is 6.4, reflecting network attack vector, low attack complexity, required privileges, no user interaction, and a scope change. The impact includes partial confidentiality and integrity loss, such as session hijacking, unauthorized actions, or content manipulation. No patches or official fixes are currently listed, and no known exploits have been observed in the wild. The vulnerability affects all versions up to and including 1.0 of the plugin, which is used in WordPress environments where multiple contributors manage content. The persistent nature of the XSS increases risk, especially on high-traffic sites or those with sensitive user data. Detection requires monitoring shortcode usage and input sanitization practices. Remediation involves applying patches when available or implementing strict input validation and output encoding for the 'id' parameter to prevent script injection.

Potential Impact

The stored XSS vulnerability in the Extra Post Images plugin can lead to significant security risks for organizations using affected WordPress sites. Attackers with Contributor-level access can inject malicious scripts that execute in the context of other users, including administrators, potentially leading to session hijacking, privilege escalation, unauthorized content changes, or distribution of malware. This compromises the confidentiality and integrity of the website and its users. The vulnerability can also damage organizational reputation if exploited to deface websites or steal sensitive information. Since WordPress powers a large portion of the web, especially content-driven sites, the scope of impact is broad. Organizations with multiple content contributors or public-facing blogs are particularly vulnerable. The lack of user interaction for exploitation increases the risk of automated or widespread attacks once exploit code becomes available. Although no known exploits are currently reported, the medium severity rating and ease of exploitation warrant proactive mitigation to avoid potential damage.

Mitigation Recommendations

1. Monitor for updates from the plugin developer and apply patches promptly once available. 2. Until a patch is released, implement strict input validation on the 'id' parameter of the extra-images shortcode to allow only expected, safe values (e.g., numeric IDs). 3. Apply output encoding/escaping on all user-supplied inputs before rendering them in pages to prevent script execution. 4. Limit Contributor-level user permissions where possible and audit user roles to reduce the attack surface. 5. Employ Web Application Firewalls (WAFs) configured to detect and block typical XSS payloads targeting WordPress shortcodes. 6. Conduct regular security reviews and code audits of custom or third-party plugins to identify similar vulnerabilities. 7. Educate content contributors about the risks of injecting untrusted content and encourage reporting suspicious behavior. 8. Use security plugins that can scan for stored XSS payloads and sanitize existing content. 9. Implement Content Security Policy (CSP) headers to restrict script execution sources, mitigating impact if exploitation occurs. 10. Backup website data regularly to enable quick restoration in case of compromise.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 2/27/2026, 10:23:49 AM

Last updated: 3/25/2026, 11:15:46 AM

Views: 53

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 for AI refresh and higher limits.

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

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses