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: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The environment exposes a stored cross‑site scripting flaw in the Enable Media Replace WordPress plugin caused by improper input sanitization. Malicious code injected through the plugin’s media replacement interface can be persisted and executed in the browsers of any user who views the affected page, potentially enabling session hijacking, credential theft, or defacement. The vulnerability relies on client browsers’ rendering of unsanitized input, leading to confidentiality and integrity violations for site visitors.

Affected Systems

ShortPixel’s Enable Media Replace plugin, versions up to and including 4.2.1, is affected. Users of WordPress installations that have the plugin installed and have not upgraded beyond 4.2.1 are at risk.

Risk and Exploitability

The CVSS score of 5.9 indicates a medium‑severity threat. No EPSS score is available, and the vulnerability is not currently listed in the CISA KEV catalog, suggesting limited publicly known exploitation. The likely attack vector is a stored input via the plugin’s media replacement functionality, requiring an authenticated user with permission to replace media to inject malicious payloads.

Generated by OpenCVE AI on July 1, 2026 at 22:50 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 immediate upgrade is not possible, disable the plugin to eliminate the attack surface until an update can be applied.
  • Implement a content security policy limiting script sources and enable XSS protection headers to mitigate potential exploitation of stored scripts.

Generated by OpenCVE AI on July 1, 2026 at 22:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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-01T17:07:22.030Z

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

Link: CVE-2026-57722

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-01T23:00:05Z

Weaknesses
  • CWE-79

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