Enable Media Replace <= 4.1.7 - Improper Authorization to Authenticated (Author+) Arbitrary Attachment Change via Background Replace

5.4
Missing Authorization
CVE CVE-2026-2732
CVSS 5.4 (Medium)
Publicly Published March 3, 2026
Last Updated March 4, 2026
Researcher Or Benit - MadSec

Description

The Enable Media Replace plugin for WordPress is vulnerable to unauthorized modification of data due to an improper capability check on the 'RemoveBackGroundViewController::load' function in all versions up to, and including, 4.1.7. This makes it possible for authenticated attackers, with Author-level access and above, to replace any attachment with a removed background attachment.

References

Share

Vulnerability Details for Enable Media Replace

Software Type Plugin
Software Slug enable-media-replace (view on wordpress.org)
Patched? Yes
Remediation Update to version 4.1.8, or a newer patched version
Affected Version
  • <= 4.1.7
Patched Version
  • 4.1.8

Recent vulnerabilities in Enable Media Replace

# Title CVE ID CVSS Researchers Date
1 Enable Media Replace <= 4.2.1 - Authenticated (Editor+) Stored Cross-Site Scripting CVE-2026-57722 4.4 Ananda Dhakal July 1, 2026
2 Enable Media Replace <= 4.1.8 - Authenticated (Author+) Stored Cross-Site Scripting via 'location_dir' Parameter CVE-2026-5714 6.4 tjoffe June 8, 2026
3 Enable Media Replace <= 4.1.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via file_modified Shortcode CVE-2025-9496 6.4 Muhammad Yudha - DJ October 10, 2025
4 Enable Media Replace <= 4.1.5 - Reflected Cross-Site Scripting CVE-2025-31081 6.1 João Pedro Soares de Alcântara April 1, 2025
5 Enable Media Replace <= 4.1.4 - Reflected Cross-Site Scripting CVE-2023-6737 4.7 Nex Team December 18, 2023
6 Enable Media Replace <= 4.1.2 - Authenticated(Author+) PHP Object Injection CVE-2023-4643 6.6 Jonatas Souza Villa Flor September 14, 2023
7 Enable Media Replace <= 4.0.1 - Authenticated (Author+) Arbitrary File Upload CVE-2023-0255 8.8 dc11 January 17, 2023
8 Enable Media Replace <= 3.6.3 - Authenticated (Administrator+) Path Traversal CVE-2022-2554 6.8 Raad Haddad September 14, 2022

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation