Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with media-upload access
-
DeliveryConfirm SVG uploads enabled
-
ExploitReplace media item with scripted SVG via plugin
-
ExecutionSanitizer prefilter bypassed, SVG stored
-
PersistVictim opens SVG file directly
-
ImpactScript executes in browser context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a non-default precondition explicitly stated in the description: an SVG-enabling capability (a plugin/setting that permits SVG uploads) must be active, because the Enable Media Replace replace path otherwise rejects SVG uploads. The attacker must be an authenticated user holding media-upload access, and the malicious payload only fires when a victim opens the stored SVG file directly in a browser (UI:R). These limiting factors - required authentication/upload capability, dependence on SVG uploads being enabled (not a default WordPress configuration), and the need for a victim to directly open the file - substantially narrow realistic exploitation despite the network attack vector. Affected: Enable Media Replace versions 0 through before 4.2.3; fixed in 4.2.3. |
| Impact | This is a moderate-severity stored XSS (CWE-79) in the Enable Media Replace WordPress plugin that the signals consistently rank as a patch-this-month item rather than an emergency. The input CVSS vector (CVSS:3.1/AV:N/AC:H/PR:H/UI:R, score 6.4) describes a network-reachable but multi-condition flaw: it requires elevated privileges (PR:H), user interaction (UI:R), and high attack complexity (AC:H). The real-world exploitation signals reinforce low urgency: EPSS is only 0.17% (6th percentile), SSVC reports Exploitation=none and Automatable=no, and the vuln.today Decision label is 'this_month' - not act_now or emergency. SSVC does assign Technical Impact=total, which is why this is not simply ignorable. There is tension between two signals worth flagging: the CVSS vector encodes PR:H (high privileges), but the description characterizes the actor as 'an authenticated user with upload access,' which in WordPress is typically an Author/Editor-level capability rather than full administrator - the recorded PR:H may overstate the privilege barrier, so verify the true capability requirement with WPScan/vendor. The C:H/I:H/A:H impact in the input is also aggressive for a browser-context XSS and appears to drive the 'total' technical-impact reading; see assessed vector for an independent, more conservative impact mapping. Net: a genuine but gated vulnerability, prioritized by patch cycle, not by active-threat pressure. |
| Exploit ScenarioDerived | An attacker who already holds an account with media-upload access on a site where SVG uploads are enabled uses Enable Media Replace to swap an existing media item for an SVG file containing embedded script; because the replace path bypasses the WordPress upload prefilter, the SVG sanitizer never runs. When a victim (for example an administrator or another user) later opens that SVG file directly in a browser, the embedded script executes in the site's context. A public PoC reference exists (WPScan); it is not verified as working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 04, 2026
Stored cross-site scripting in the Enable Media Replace WordPress plugin before version 4.2.3 lets an authenticated user with media-upload access store an SVG file containing script that executes when that file is opened directly in a browser. The flaw exists because the plugin's file-replacement path does not route the replacement file through the normal WordPress upload pipeline, so the upload prefilter and any SVG sanitizer never run; exploitation additionally requires that an SVG-enabling plugin or setting be active, since the replace path otherwise rejects SVG files. Public reporting is a WPScan reference only, not verified working exploit code, EPSS is 0.17% (6th percentile), CISA SSVC records no known exploitation and the case is not automatable, and the vendor has released a fixed version (4.2.3), so this is a patch-this-month item rather than an emergency.
RemediationAI
Vendor-released patch: upgrade Enable Media Replace to version 4.2.3 or later, which is the fix for the 0 to <4.2.3 range and is the only complete remediation identified in the available data (advisory: https://wpscan.com/vulnerability/3633f2fd-c61c-4da9-962e-8f55c8fafb3b/). If updating cannot be scheduled immediately, the practical compensating control is to remove the precondition: disable SVG uploads on the site (deactivate or reconfigure the SVG-enabling plugin/setting that the affected replace path depends on), which causes the replace path to reject SVG files - the trade-off is that legitimate SVG media workflows stop working site-wide. Also tighten the population holding media-upload access to roles that genuinely need it, since the flaw requires an authenticated upload-capable user; this narrows the attacker pool but does not remove the vulnerability. Note that neither workaround addresses the underlying missing upload-pipeline enforcement, so updating to 4.2.3 remains required. No exploit campaign is confirmed (SSVC exploitation: none, EPSS 0.17%, percentile 6), and the only public reference is a PoC/advisory pointer that is not verified as working exploit code.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Enable Media Replace is a WordPress plugin that lets editors swap the file behind an existing media-library attachment while keeping the attachment ID and URL. WordPress normally funnels uploads through core upload handling, where the upload prefilter and MIME/extension checks run and where SVG-aware sanitizers hook in - SVG is XML and can legitimately contain <script> or event-handler attributes, so it is only safe when sanitized. In affected versions the replacement path stores the new file without passing it through that pipeline, so the prefilter that SVG-sanitizing plugins rely on is skipped entirely. This is a CWE-79 cross-site scripting weakness (script embedded in a stored file executes in the browser context of the site when the SVG is opened directly), not a general file-upload or remote-code-execution issue. Two preconditions bound the impact: media-upload privileges plus an active SVG-enabling plugin/setting, because the replace path otherwise rejects SVG; and a victim who opens the stored file directly rather than merely viewing a page that embeds it. The supplied CVSS 3.1 base of 6.4 (AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H) describes severity only and the sources do not describe the specific trigger beyond the bypassed upload pipeline; the independently assessed vector CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N rates the same defect as moderate, which better matches the authentication, non-default configuration and user-interaction prerequisites.
Know when Enable Media Replace gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
Upload access is an authenticated low-privilege WordPress capability (PR:L, not PR:H); AC:H and UI:R reflect the SVG-enabled precondition and victim opening the file; stored XSS runs cross-context (S:C) with limited C/I and no availability impact.
Primary rating from Vendor (WPScan).
CVSS VectorVendor: WPScan
Lifecycle Timeline
3DescriptionCVE.org
The Enable Media Replace WordPress plugin before 4.2.3 does not pass a replaced media file through the WordPress upload pipeline, so the upload prefilter that SVG-sanitizer Enable Media Replace WordPress plugin before 4.2.3 rely on never runs, allowing an authenticated user with upload access to store an SVG file containing script that executes when the file is opened directly. It requires an SVG-enabling Enable Media Replace WordPress plugin before 4.2.3 to be active, as the replace path otherwise rejects SVG uploads.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Enable Media Replace
View allThe Enable Media Replace WordPress plugin before 4.1.3 unserializes user input via the Remove Background feature, which
The Enable Media Replace WordPress plugin before 4.0.2 does not prevent authors from uploading arbitrary files to the si
The Enable Media Replace WordPress plugin before 4.0.0 does not ensure that renamed files are moved to the Upload folder
PHP object injection in the WordPress plugin Enable Media Replace through version 4.2.2 gives authenticated Subscriber-l
Authenticated low-privilege users of WordPress sites running the Enable Media Replace plugin before 5.0.0 can trigger PH
Stored cross-site scripting in the ShortPixel Enable Media Replace WordPress plugin (all versions through 4.2.1) allows
The Enable Media Replace plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the SHORTPIXEL_DEBUG p
Authorization bypass in the WordPress plugin Enable Media Replace (all versions up to and including 4.2.2) allows an aut
EUVD-2026-116724
GHSA-c8jg-ch76-q9xw
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB