CVE-2026-114422
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.
Affected WordPress components
-
Enable Media Replace Plugin · enable-media-replaceFrom 4.1.4 (including) to 4.2.3 (excluding)View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- Unknown Enable Media Replace — From 4.1.4 (including) to 4.2.3 (excluding)
References
- wpscan.com https://wpscan.com/vulnerability/e0fa983d-19b6-438b-96c1-7ae6e8ccace4/
- nvd.nist.gov Official NVD record