CVE-2026-5714
Received Received - Intake
Stored XSS in Enable Media Replace WordPress Plugin

Publication date: 2026-06-09

Last updated on: 2026-06-09

Assigner: 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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-09
Last Modified
2026-06-09
Generated
2026-06-09
AI Q&A
2026-06-09
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
enable_media_replace plugin to 4.1.8 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

The Enable Media Replace plugin for WordPress has a Stored Cross-Site Scripting (XSS) vulnerability in the 'location_dir' parameter. This vulnerability exists in all versions up to and including 4.1.8 due to insufficient input sanitization and output escaping.

Authenticated users with Author-level access or higher can exploit this vulnerability to inject arbitrary web scripts into pages. These scripts will execute whenever any user accesses the injected page.

Impact Analysis

This vulnerability allows attackers with Author-level access or above to inject malicious scripts that execute in the context of other users visiting the affected pages.

  • It can lead to theft of user credentials or session tokens.
  • It can enable unauthorized actions on behalf of users.
  • It can compromise the integrity and trustworthiness of the website.
Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-5714. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart