CVE-2026-114422

Enable Media Replace 4.1.4 - 4.2.2 - Unauthenticated PHP Object Injection via Metadata Replacer

Published Oct 30, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The Enable Media Replace plugin for WordPress prior to version 4.2.3 improperly deserializes stored metadata during the media replace-and-update-links routine, allowing anyone to inject and instantiate PHP objects. This leads to PHP object injection and local file inclusion of existing PHP or HTML files, and could be escalated to remote code execution if an attacker can supply or influence such files. The flaw originates from an unrestricted deserialization of user‑provided data, a classic example of incorrect handling of class instantiation during deserialization.

Affected Systems

The vulnerability affects the Enable Media Replace WordPress plugin in all releases from 4.1.4 through 4.2.2. These versions were released after a prior patch (4.1.3) that addressed the same issue but the fix was reintroduced in later releases. Site administrators using these versions should verify their plugin version and apply a patch.

Risk and Exploitability

Attackers with unauthenticated access can trigger the flaw by uploading or replacing media; however the injection requires that a user with upload privileges performs the routine media replacement. The CVSS score of 7.5 signals a high severity vulnerability, while the EPSS score of < 1% indicates a low probability of exploitation. No listing in CISA KEV indicates no widespread exploitation yet, but the potential for remote code execution remains. The attack path is straightforward: an unauthenticated adversary submits a specially crafted media replacement request that triggers object deserialization, leading to code execution.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Enable Media Replace to version 4.2.3 or later.
  • If upgrading is not feasible, deactivate or uninstall the Enable Media Replace plugin to eliminate the attack vector.
  • Restrict media replacement functionality to only trusted administrators and enforce strict validation on file uploads, ensuring only allowed file types are accepted.

Generated by OpenCVE AI on October 30, 2026 at 16:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-502
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Wordpress-extensions
Wordpress-extensions enable Media Replace
Vendors & Products Wordpress-extensions
Wordpress-extensions enable Media Replace
Type Values Removed Values Added
Description 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.
Title Enable Media Replace 4.1.4 - 4.2.2 - Unauthenticated PHP Object Injection via Metadata Replacer
References
Weaknesses
  • CWE-502

    Deserialization of Untrusted Data

Sources

Status
PUBLISHED
Assigner
WPScan
Published
Updated
Oct 30, 2026, 1:26 PM
Reserved
Oct 21, 2026, 12:57 PM
Status
Deferred
Published
Oct 30, 2026, 6:16 AM
Modified
Oct 30, 2026, 5:49 PM