4.3medium
Enable Media Replace <= 4.2.2 - Missing Authorization to Authenticated (Author+) Post Content Modification via Media Replacement Workflow
- Severity
- 4.3medium CVSS:3.1 by Wordfence
- Exploit likelihood
- 0.47% (higher than 33% of CVEs)
- Published
- Last changed
- Assigned by
- Wordfence
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| shortpixel Enable Media Replace | up to 4.2.2 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
El plugin Enable Media Replace para WordPress es vulnerable a una omisión de autorización en todas las versiones hasta la 4.2.2 incluida. Esto se debe a que el plugin no verifica correctamente que un usuario está autorizado para realizar una acción. Esto permite a atacantes autenticados, con acceso de nivel de autor y superior, modificar el post_content de cualquier entrada publicada que haga referencia al medio reemplazado - incluyendo entradas propiedad de Administradores - haciendo que los cambios sean inmediatamente visibles para visitantes no autenticados. El método doReplaceQuery() realiza una búsqueda y reemplazo en toda la base de datos en todas las entradas que contienen la URL del medio antiguo sin ninguna verificación de capacidad por entrada, lo que significa que una única solicitud iniciada por un Autor puede sobrescribir silenciosamente un gran número de entradas que la interfaz de usuario de administración estándar de WordPress y la API REST de otro modo prohibirían a ese usuario editar.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-85655 changed 2026-10-29 | CVE Terms of Use |
| NVD | CVE-2026-85655 changed 2026-11-04 | Public domain |