Enable Media Replace <= 4.1.4 - Reflected Cross-Site Scripting

4.7
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2023-6737
CVSS 4.7 (Medium)
Publicly Published December 18, 2023
Last Updated January 22, 2024
Researcher Nex Team

Description

The Enable Media Replace plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the SHORTPIXEL_DEBUG parameter in all versions up to, and including, 4.1.4 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link. Exploiting this vulnerability requires the attacker to know the ID of an attachment uploaded by the user they are attacking.

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

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.5, or a newer patched version
Affected Version
  • <= 4.1.4
Patched Version
  • 4.1.5

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.7 - Improper Authorization to Authenticated (Author+) Arbitrary Attachment Change via Background Replace CVE-2026-2732 5.4 Or Benit March 3, 2026
4 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
5 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
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