Enable Media Replace <= 4.1.8 - Authenticated (Author+) Stored Cross-Site Scripting via 'location_dir' Parameter
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ShortPixel | Enable Media Replace | up to 4.1.8 | — | No fix listed | CNA |
- Enable Media Replace VendorShortPixel Affected up to 4.1.8 Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-5714
- 2026-10-03 Alias added: GHSA-p8qg-vv8c-8jmw
References
Other 3
- https://www.wordfence.com/threat-intel/vulnerabilities/id/c6e8a78b-01ad-47b2-84e6-4f6ff78c02b6?source=cve
- https://plugins.trac.wordpress.org/browser/enable-media-replace/tags/4.1.8/classes/ViewController/UploadViewController.php#L108
- https://plugins.trac.wordpress.org/browser/enable-media-replace/tags/4.1.8/views/screen.php#L228
More ShortPixel vulnerabilities
- TI-2023-04280 Enable Media Replace < 4.1.3 - Author+ PHP Object Injection CVSS 3.1HIGH 8.8
- TI-2023-00241 Enable Media Replace < 4.0.2 - Author+ Arbitrary File Upload CVSS 3.1HIGH 8.8
- TI-2023-00318 ShortPixel Adaptive Images < 3.6.3 - Reflected XSS CVSS 3.1MEDIUM 6.1
- TI-2026-14215 ShortPixel Image Optimizer <= 6.5.5 - Authenticated (Author+) PHP Object Injection via Nested JSON Post Content CVSS 3.1HIGH 8.8
- TI-2026-83296 PHP object injection in Enable Media Replace WordPress plugin CVSS 3.1HIGH 8.8
- TI-2023-15794 WordPress ShortPixel Adaptive Images Plugin <= 3.7.1 is vulnerable to Cross Site Request Forgery (CSRF) CVSS 3.1HIGH 8.8
Sources
- CVE-2026-5714 · CVE Program
- CVE-2026-5714 · NVD
- FIRST EPSS
- GHSA-p8qg-vv8c-8jmw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences