CVE-2026-85655

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

Published Oct 28, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The plugin contains an authorization bypass that allows any authenticated user who can author content to replace media across all posts. This results in the attacker silently rewriting the post_content field for any published post, including those owned by administrators, and the changes become visible to all visitors immediately. The flaw is an instance of improper authorization (CWE-862) and has a CVSS score of 4.3, indicating moderate severity.

Affected Systems

All installations of the WordPress plugin Enable Media Replace from shortpixel, versions 4.2.2 and earlier are affected. The vulnerability lies in the doReplaceQuery() method that performs a global database search and replace without per‑post capability checks.

Risk and Exploitability

Exploitation requires only authenticated access with author‑level rights; no special network exposure is needed. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Given the moderate CVSS score, the risk is moderate but significant if an attacker has local editorial access and can trigger multifile replacements across a site.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Enable Media Replace to version 4.2.3 or later to remove the authorization check before media replacement runs.
  • Limit the use of the media‑replacement feature to administrators or users with explicit permission, and disable the functionality for lower‑privileged roles.
  • Audit recent revisions of post_content to identify any unexpected changes that may have occurred while the insecure plugin version was active.

Generated by OpenCVE AI on October 28, 2026 at 09:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Shortpixel
Shortpixel enable Media Replace
Wordpress-extensions
Wordpress-extensions enable Media Replace
Vendors & Products Shortpixel
Shortpixel enable Media Replace
Wordpress-extensions
Wordpress-extensions enable Media Replace
Type Values Removed Values Added
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.
Title Enable Media Replace <= 4.2.2 - Missing Authorization to Authenticated (Author+) Post Content Modification via Media Replacement Workflow
Weaknesses CWE-862
References
Metrics cvssV3_1

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Oct 29, 2026, 1:41 AM
Reserved
Sep 4, 2026, 1:13 PM
Status
Deferred
Published
Oct 28, 2026, 8:16 AM
Modified
Nov 4, 2026, 11:10 PM