CVE-2025-2542

Your Simple SVG Support <= 1.0.1 - Authenticated (Author+) Stored Cross-Site Scripting via SVG File Upload

Published Mar 25, 2025 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
The Your Simple SVG Support plugin for WordPress is vulnerable to Stored Cross-Site Scripting via SVG File uploads in all versions up to, and including, 1.0.1 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 the SVG file.

Analysis

AI-generated

Technical impact

The Your Simple SVG Support plugin allows authenticated users with Author or higher privileges to upload SVG files that are stored without proper sanitization or escaping. The uploaded SVG can contain malicious scripts that are executed when any user accesses the image, leading to theft of session cookies, defacement, or other client‑side attacks. The vulnerability aligns with CWE‑79, a classic reflected/ stored XSS weakness. The primary impact is the potential to run arbitrary JavaScript in the context of any browser that views the file, compromising user data and trust.

Affected Systems

The flaw exists in all releases of the Your Simple SVG Support WordPress plugin up to and including version 1.0.1. WordPress sites that have this plugin installed and allow author‑level users to upload SVG files are affected. No specific server or OS versions are mentioned.

Risk and Exploitability

The CVSS score of 6.4 indicates moderate severity. The EPSS score of less than 1% suggests a low likelihood of exploitation at this time, and the vulnerability is not listed in CISA’s KEV catalog. However, because the flaw requires only Author‑level access, many sites with multiple contributors could be at risk. Attackers can exploit the weakness by simply uploading a crafted SVG; no additional conditions are needed beyond the stated privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Your Simple SVG Support plugin to the latest available version beyond 1.0.1.
  • If an update is not possible, disable SVG uploads entirely or prevent the file type via web‑server configuration or a security plugin.
  • Apply a content security policy that blocks inline scripts and unsafe‑eval to mitigate the impact of any unintentionally stored malicious SVGs.

Generated by OpenCVE AI on April 28, 2026 at 03:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-8835 The Your Simple SVG Support plugin for WordPress is vulnerable to Stored Cross-Site Scripting via SVG File uploads in all versions up to, and including, 1.0.1 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 the SVG file.
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description The Your Simple SVG Support plugin for WordPress is vulnerable to Stored Cross-Site Scripting via SVG File uploads in all versions up to, and including, 1.0.1 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 the SVG file.
Title Your Simple SVG Support <= 1.0.1 - Authenticated (Author+) Stored Cross-Site Scripting via SVG File Upload
Weaknesses CWE-79
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 4:38 PM
Reserved
Mar 19, 2025, 11:53 PM
Status
Deferred
Published
Mar 25, 2025, 10:15 AM
Modified
Jun 17, 2026, 9:07 AM