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-9496: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in shortpixel Enable Media Replace

0
Medium
VulnerabilityCVE-2025-9496cvecve-2025-9496cwe-79
Published: Sat Oct 11 2025 (10/11/2025, 07:25:55 UTC)
Source: CVE Database V5
Vendor/Project: shortpixel
Product: Enable Media Replace

Description

The Enable Media Replace plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's file_modified shortcode in all versions up to, and including, 4.1.6 due to insufficient input sanitization and output escaping on user supplied attributes. 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/26/2026, 17:59:04 UTC

Technical Analysis

CVE-2025-9496 identifies a stored Cross-Site Scripting (XSS) vulnerability in the Enable Media Replace plugin for WordPress, specifically in the file_modified shortcode functionality. The vulnerability stems from insufficient input sanitization and output escaping of user-supplied attributes, which allows authenticated users with contributor-level permissions or higher to inject arbitrary JavaScript code. When a page containing the injected shortcode is accessed, the malicious script executes in the context of the victim's browser, potentially leading to session hijacking, privilege escalation, or other malicious activities. The vulnerability affects all versions of the plugin up to and including 4.1.6. The attack vector is remote over the network, with low attack complexity, requiring only authenticated contributor-level access and no user interaction for exploitation. The scope is changed (S:C) because the vulnerability can affect other users beyond the attacker. The CVSS 3.1 base score is 6.4, reflecting a medium severity with partial confidentiality and integrity impact but no availability impact. No patches or exploit code are currently publicly available, but the vulnerability is published and should be addressed promptly. This vulnerability is categorized under CWE-79, which covers improper neutralization of input during web page generation leading to XSS.

Potential Impact

The primary impact of this vulnerability is the potential for stored XSS attacks within WordPress sites using the Enable Media Replace plugin. Successful exploitation can lead to the compromise of user sessions, theft of sensitive information, and unauthorized actions performed on behalf of legitimate users. Since contributor-level users can exploit this flaw, attackers can leverage compromised or malicious contributor accounts to inject persistent scripts. This can facilitate further attacks such as privilege escalation, defacement, or distribution of malware. For organizations, this can result in reputational damage, data breaches, and loss of user trust. The vulnerability does not directly impact system availability but can degrade the integrity and confidentiality of the affected web application. Given WordPress's widespread use globally, many organizations, including small businesses, media sites, and enterprises relying on this plugin, are at risk if they do not update or mitigate the vulnerability.

Mitigation Recommendations

To mitigate this vulnerability, organizations should immediately update the Enable Media Replace plugin to a version that addresses the issue once available. Until a patch is released, restrict contributor-level user permissions to trusted individuals only and consider temporarily disabling the file_modified shortcode functionality if feasible. Implement Web Application Firewall (WAF) rules to detect and block suspicious shortcode attribute patterns that may contain script injections. Conduct regular audits of shortcode usage and content for signs of malicious code. Employ Content Security Policy (CSP) headers to reduce the impact of XSS by restricting script execution sources. Educate users with contributor access about the risks of injecting untrusted content. Additionally, monitor logs for unusual activity related to shortcode usage and user actions. Finally, ensure that WordPress core and all plugins are kept up to date to minimize exposure to known vulnerabilities.

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

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-08-26T17:51:54.044Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 68ea07c7ea13521b93fae116

Added to database: 10/11/2025, 7:31:19 AM

Last enriched: 2/26/2026, 5:59:04 PM

Last updated: 3/25/2026, 1:32:00 AM

Views: 167

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