CVE-2025-9496
MediumCVSS 6.4Exploitation Probability (EPSS)
Low risk17th percentile - higher than 17% of all known CVEs
Summary
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 allows authenticated attackers with contributor-level access or above to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Risk Assessment
The organization may experience malicious script execution in users' browsers, potentially leading to data theft, session hijacking, or other attacks.
Recommendation
It is recommended to update the Enable Media Replace plugin to the latest patched version and restrict user privileges to the minimum necessary.
Other vulnerabilities in Enable Media Replace
See all- CVE-2026-135997High
The Enable Media Replace plugin contains a deserialization of untrusted data vulnerability that allows object injection. The issue affects versions before 5.0.0.
- CVE-2026-73186High
The Enable Media Replace plugin (up to version 4.2.2) is vulnerable to deserialization of untrusted data, allowing object injection.
- CVE-2026-85655Medium
The Enable Media Replace plugin for WordPress in all versions up to and including 4.2.2 is vulnerable to authorization bypass. This is due to the plugin not properly verifying that a user is authorized to perform an action, allowing authenticated attackers with author-level access and above to modify the post_content of any published post referencing the replaced media, including Administrator-owned posts. The doReplaceQuery() method performs a database-wide search-and-replace without per-post capability checks.
- CVE-2026-57722Medium
The Enable Media Replace WordPress plugin contains a stored Cross-Site Scripting (XSS) vulnerability due to improper input neutralization during page generation. This affects versions from n/a through 4.2.1.
- CVE-2026-2732Medium
The Enable Media Replace plugin for WordPress in versions up to and including 4.1.7 is vulnerable to unauthorized data modification due to an improper capability check on the RemoveBackGroundViewController::load function. An authenticated attacker with Author-level access or higher can replace any attachment with a removed background attachment.
Original NVD description (English source)
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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

