Description
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in ShortPixel Enable Media Replace allows Stored XSS.

This issue affects Enable Media Replace: from n/a through 4.2.1.
Published: 2026-07-01
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Enable Media Replace WordPress plugin contains a stored cross‑site scripting flaw (CWE‑79) caused by improper sanitization of user input. Based on the description, it is inferred that an authenticated user with permission to replace media would need to upload a malicious payload via the plugin’s interface; the payload would then be persisted and rendered unfiltered in the the stored script can have arbitrary JavaScript executed in their browser, allowing attackers to hijack sessions, steal credentials, or deface content.

Affected Systems

ShortPixel Enable Media Replace, versions up to 4.2.1, are affected. Newer releases starting with 4.2.2 are not affected, so upgrading to that or later versions will eliminate the flaw.

Risk and Exploitability

The CVSS classifies this as a medium‑severity issue. EPSS score is <1%, indicating a very low but non-zero likelihood of exploitation. The vulnerability is not listed in CISA’s KEV catalog, indicating that large‑scale exploitation is currently unobserved. The attack vector is inferred as a stored input via the plugin’s on is inferred that the attacker likely needs to be an authenticated user with the necessary privileges to modify media.

Generated by OpenCVE AI on July 21, 2026 at 13:41 UTC.

Remediation

Vendor Solution

Update the WordPress Enable Media Replace Plugin to the latest available version (at least 4.2.2).


OpenCVE Recommended Actions

  • Upgrade the Enable Media Replace plugin to version 4.2.2 or later.
  • If upgrading immediately is not feasible, disable or uninstall the plugin until a patch can be installed.
  • Restrict the permissions for media replacement to a minimal set of trusted administrators to limit the opportunity for malicious payload injection.
  • Apply a restrictive content‑security‑policy that blocks inline scripts and enable X‑XSS‑Protection headers to reduce the risk of execution of any residual stored scripts.

Generated by OpenCVE AI on July 21, 2026 at 13:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 02 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 01 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Shortpixel
Shortpixel enable Media Replace
Wordpress
Wordpress wordpress
Vendors & Products Shortpixel
Shortpixel enable Media Replace
Wordpress
Wordpress wordpress

Wed, 01 Jul 2026 17:45:00 +0000

Type Values Removed Values Added
Description Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in ShortPixel Enable Media Replace allows Stored XSS. This issue affects Enable Media Replace: from n/a through 4.2.1.
Title WordPress Enable Media Replace plugin <= 4.2.1 - Cross Site Scripting (XSS) vulnerability
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L'}


Subscriptions

Shortpixel Enable Media Replace
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Patchstack

Published:

Updated: 2026-07-02T14:33:30.032Z

Reserved: 2026-06-25T08:04:13.263Z

Link: CVE-2026-57722

cve-icon Vulnrichment

Updated: 2026-07-02T14:33:24.862Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T13:45:03Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')