HomeWordPress vulnerabilitiesEnable Media Replace
Enable Media Replace vulnerabilities
Enable Media Replace has 11 known vulnerabilities in this database. The most recent published record is dated 4 Nov 2026.
- Known vulnerabilities
- 11
- Active installs
- 600,000+
- Latest version
- 4.2.3
- Last updated
- 26 Oct 2026
- Most recent
- 4 Nov 2026
Find it in your WordPress dashboard under Plugins. Severity is based on the CVSS score published with the CVE where one is available.
| Vulnerability | Severity | Affected | Fix | Published |
|---|---|---|---|---|
| Cross-site scripting (XSS) CVE-2026-114431 | Medium 6.4 | Before 4.2.3 | Fixed in 4.2.3 | 4 Nov 2026 |
| PHP object injection CVE-2026-73186 | High 8.8 | Up to 4.2.2 | Fixed in a later version (latest 4.2.3) | 30 Oct 2026 |
| Remote code execution CVE-2026-114422 | High 7.5 | Before 4.2.3 | Fixed in 4.2.3 | 30 Oct 2026 |
| Broken access control CVE-2026-85655 | Medium 4.3 | Up to 4.2.2 | Fixed in a later version (latest 4.2.3) | 28 Oct 2026 |
| Cross-site scripting (XSS) CVE-2026-5714 | Medium 6.4 | Up to 4.1.8 | Fixed in a later version (latest 4.2.3) | 9 Jun 2026 |
| Broken access control CVE-2026-2732 | Medium 5.4 | Up to 4.1.7 | Fixed in a later version (latest 4.2.3) | 4 Mar 2026 |
| Cross-site scripting (XSS) CVE-2025-9496 | Medium 6.4 | Up to 4.1.6 | Fixed in a later version (latest 4.2.3) | 11 Oct 2025 |
| Cross-site scripting (XSS) CVE-2023-6737 | Medium 4.7 | Up to 4.1.4 | Fixed in a later version (latest 4.2.3) | 11 Jan 2024 |
| PHP object injection CVE-2023-4643 | High 8.8 | Before 4.1.3 | Fixed in 4.1.3 | 16 Oct 2023 |
| Arbitrary file upload CVE-2023-0255 | High 8.8 | Before 4.0.2 | Fixed in 4.0.2 | 13 Feb 2023 |
| Path traversal CVE-2022-2554 | Medium 4.9 | Before 4.0.0 | Fixed in 4.0.0 | 10 Oct 2022 |
Read the published descriptions
- CVE-2026-114431, 4 Nov 2026
- The Enable Media Replace WordPress plugin before 4.2.3 does not pass a replaced media file through the WordPress upload pipeline, so the upload prefilter that SVG-sanitizer Enable Media Replace WordPress plugin before 4.2.3 rely on never runs, allowing an authenticated user with upload access to store an SVG file containing script that executes when the file is opened directly. It requires an SVG-enabling Enable Media Replace WordPress plugin before 4.2.3 to be active, as the replace path otherwise rejects SVG uploads. CVE record
- CVE-2026-73186, 30 Oct 2026
- Deserialization of Untrusted Data vulnerability in ShortPixel Enable Media Replace enable-media-replace allows Object Injection.This issue affects Enable Media Replace: from n/a through 4.2.2. CVE record
- CVE-2026-114422, 30 Oct 2026
- The Enable Media Replace WordPress plugin before 4.2.3 does not restrict the classes allowed when deserializing stored metadata during its media replace-and-update-links routine, allowing unauthenticated users to inject a PHP object that is instantiated when a user with upload access performs a routine media replacement, resulting in PHP Object Injection and local file inclusion of existing PHP/HTML files, which can be escalated to remote code execution where an attacker-influenced PHP or HTML file is present on the server. This is a regression of CVE-2023-4643, which was fixed in 4.1.3 and reintroduced in 4.1.4. CVE record
- CVE-2026-85655, 28 Oct 2026
- The Enable Media Replace plugin for WordPress is vulnerable to authorization bypass in all versions up to, and including, 4.2.2. This is due to the plugin not properly verifying that a user is authorized to perform an action. This makes it possible for 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 - making changes immediately visible to unauthenticated visitors. The doReplaceQuery() method performs a database-wide search-and-replace across all posts containing the old media URL without any per-post capability check, meaning a single Author-triggered request can silently overwrite a large number of posts that WordPress's standard admin UI and REST API would otherwise forbid that user from editing. CVE record
- CVE-2026-5714, 9 Jun 2026
- The Enable Media Replace plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘location_dir’ parameter in all versions up to, and including, 4.1.8 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. CVE record
- CVE-2026-2732, 4 Mar 2026
- The Enable Media Replace plugin for WordPress is vulnerable to unauthorized modification of data due to an improper capability check on the 'RemoveBackGroundViewController::load' function in all versions up to, and including, 4.1.7. This makes it possible for authenticated attackers, with Author-level access and above, to replace any attachment with a removed background attachment. CVE record
- CVE-2025-9496, 11 Oct 2025
- 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. CVE record
- CVE-2023-6737, 11 Jan 2024
- The Enable Media Replace plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the SHORTPIXEL_DEBUG parameter in all versions up to, and including, 4.1.4 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link. Exploiting this vulnerability requires the attacker to know the ID of an attachment uploaded by the user they are attacking. CVE record
- CVE-2023-4643, 16 Oct 2023
- The Enable Media Replace WordPress plugin before 4.1.3 unserializes user input via the Remove Background feature, which could allow Author+ users to perform PHP Object Injection when a suitable gadget is present on the blog CVE record
- CVE-2023-0255, 13 Feb 2023
- The Enable Media Replace WordPress plugin before 4.0.2 does not prevent authors from uploading arbitrary files to the site, which may allow them to upload PHP shells on affected sites. CVE record
- CVE-2022-2554, 10 Oct 2022
- The Enable Media Replace WordPress plugin before 4.0.0 does not ensure that renamed files are moved to the Upload folder, which could allow high privilege users such as admin to move them outside to the web root directory via a path traversal attack for example CVE record
What to do if you run Enable Media Replace
If you run Enable Media Replace, open WordPress and check the installed version in Plugins. Compare it with the affected versions in the vulnerability record. If a fixed version is available, take a current backup and update to that version or the latest supported release.
If no fixed version exists, consider disabling and removing the plugin or replacing it with a maintained alternative. After dealing with the affected software, check administrator users, unexpected file changes, redirects, unfamiliar pages and security logs for signs that the site may already have been altered.
Email me about new Enable Media Replace vulnerabilities
Free. We email you when a new vulnerability is published for Enable Media Replace, usually within minutes. Confirm by email; unsubscribe any time.
Focus on your business. We’ll take care of your website.
From everyday updates to ongoing care, we keep your website working.