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

- Severity: Medium 5.4 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-03-04T06:26:53.170Z
- Modified: 2026-06-17T10:31:37.193Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- shortpixel Enable Media Replace: up to 4.1.7

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/2c5f2dc8-67f7-4dbf-8631-f434522f1b53?source=cve>
- <https://plugins.trac.wordpress.org/browser/enable-media-replace/tags/4.1.7/classes/ViewController/RemoveBackgroundViewController.php#L35>
- <https://plugins.trac.wordpress.org/browser/enable-media-replace/tags/4.1.7/classes/ViewController/RemoveBackgroundViewController.php#L68>
- <https://github.com/short-pixel-optimizer/enable-media-replace/commit/8ca282e68e5fcf8a8e4cecc1f0ab192c42b1dc66>
- <https://plugins.trac.wordpress.org/changeset/3473504/enable-media-replace#file26>

## Sources

- CVE List: [CVE-2026-2732](https://www.cve.org/CVERecord?id=CVE-2026-2732), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2026-2732](https://nvd.nist.gov/vuln/detail/CVE-2026-2732), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-2732 · Whole record: https://cve.day/CVE-2026-2732.json · Rebuilt by cve.day 2026-11-25T22:59:15.155Z
