CVE-2026-5714 MEDIUM

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

Vendor Shortpixel
Product Enable Media Replace
Weakness CWE-79 · XSS
Published June 9, 2026
Last update June 9, 2026

CVSS base score

6.4/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

What the vulnerability does

01Description

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.

Explanation of Vulnerability in Simple Terms

02Summary

Enable Media Replace versions up to 4.1.8 contain a cross-site scripting vulnerability that allows authenticated users to inject malicious scripts. The vulnerability has changed scope, meaning injected code can affect other users and site functionality beyond the plugin itself. An attacker with low-level WordPress access can craft malicious input that executes in other users' browsers when they interact with affected features.

What an attacker can do

03Attacker Capabilities

Inject JavaScript that runs in other users' browsers and affects site functionality.

Potential impact on your site

04Site Impact

Authenticated attackers can steal admin session tokens, deface content, or redirect users to malicious sites.

Conditions required to exploit

05Prerequisites

Attacker needs a low-privilege WordPress account (e.g., contributor or editor role).

Key dates

06Disclosure timeline

June 9, 2026 CVE published
June 9, 2026 Record updated