Enable Media Replace <= 4.2.2 - Missing Authorization to Authenticated (Author+) Post Content Modification via Media Replacement Workflow
Summary
| CVE | CVE-2026-85655 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-28 08:16:30 UTC |
| Updated | 2026-10-29 02:16:54 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 4.3 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
EPSS: 0.002720000 probability, percentile 0.195470000 (date 2026-10-28)
Problem Types: CWE-862 | CWE-862 CWE-862 Missing Authorization
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 4.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| 3.1 | CNA | DECLARED | 4.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Shortpixel | Enable Media Replace | affected 4.2.2 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| www.wordfence.com/threat-intel/vulnerabilities/id/aff42473-63c6-41ca-8312-058f2... | [email protected] | www.wordfence.com | |
| plugins.trac.wordpress.org/browser/enable-media-replace/tags/4.1.9/classes/ViewControlle... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/enable-media-replace/tags/4.2.2/classes/Controller/Re... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/enable-media-replace/tags/4.2.2/classes/ViewControlle... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/enable-media-replace/tags/4.2.2/build/shortpixel/repl... | [email protected] | plugins.trac.wordpress.org | |
| github.com/short-pixel-optimizer/enable-media-replace/releases/tag/v4.2.3 | [email protected] | github.com | |
| plugins.trac.wordpress.org/browser/enable-media-replace/tags/4.1.9/classes/ViewControlle... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/enable-media-replace/tags/4.1.9/classes/Controller/Re... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/enable-media-replace/tags/4.2.2/classes/ViewControlle... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/enable-media-replace/tags/4.1.9/build/shortpixel/repl... | [email protected] | plugins.trac.wordpress.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Duy Tran (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-09-04T13:28:15.000Z | Vendor Notified |
| CNA | 2026-10-27T18:45:07.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.