Skip to content

CVE-2026-85655 Enable Media Replace <= 4.2.2 - Missing Authorization to Authenticated (Author+) Post Content Modification via Media Replacement Workflow

MediumCVSS 4.3 EPSS 0.27%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
WordPress

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
ShortPixel Enable Media Replace <= 4.2.2 after 4.2.2 Fixed
wordpress enable-media-replace(WordPress) < 4.2.3 4.2.3 Fixed

Affected products

ProductAffected versionsFixed in
ShortPixel Enable Media Replace <= 4.2.2 No fix listed
wordpress enable-media-replace(WordPress) < 4.2.3 4.2.3

References