Skip to content
OpenAdvisories
Medium · 6.4 CVE-2026-5714 EUVD-2026-35293GHSA-p8qg-vv8c-8jmw

Enable Media Replace <= 4.1.8 - Authenticated (Author+) Stored Cross-Site Scripting via 'location_dir' Parameter

Published Jun 9, 2026 · Updated Jun 9, 2026 · Assigned by Wordfence

Description

The Enable Media Replace plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘location_dir’ parameter in all versions up to, and including, 4.1.8 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Affected products

VendorProductAffectedFixed
shortpixel Enable Media Replace ≤ 4.1.8 —

References