Skip to main content

SVG Support CVE-2026-13340

| EUVDEUVD-2026-52170 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-08-03 WPScan GHSA-2v5f-qf73-676h
6.1
CVSS 3.1 · Vendor: WPScan
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Attacker authenticates as Author with admin-granted SVG upload access
  2. Delivery
    Crafts .svgz file with embedded JavaScript payload
  3. Exploit
    Uploads file via WordPress media uploader - plugin stores it unsanitized
  4. Install
    Attacker embeds .svgz attachment in a post or page
  5. C2
    Administrator or other user visits the page
  6. Execute
    Browser decompresses and renders SVG, executing payload in WordPress origin
  7. Impact
    Session token or credentials exfiltrated to attacker

Vulnerability Assessment

Weakness
CWE
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 the attacker to hold an authenticated WordPress account belonging to a role that has been explicitly granted SVG upload access by an administrator through the SVG Support plugin settings - the default WordPress Author role does not have this permission unless an admin has enabled it. The SVG Support plugin must be installed, active, and configured to allow SVG uploads for the attacker's role. The victim must view a page or post that embeds the uploaded .svgz file, satisfying the UI:R requirement. Exploitation is bounded by: (1) authenticated upload access - not anonymously exploitable despite the NVD PR:N label, which appears to be a scoring inconsistency; (2) explicit administrator grant of SVG upload rights to non-admin roles; (3) required victim interaction (page view). Sites that restrict SVG upload to administrators only present no exploitable attack surface to external parties.

Impact

The NVD-assigned CVSS 3.1 score of 6.1 (Medium, AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) contains a notable inconsistency: PR:N implies no authentication is required, yet the description explicitly states exploitation requires a user account with SVG upload permission (at minimum an Author granted that capability by an admin). Defenders should not treat this as anonymously exploitable; the realistic privilege requirement is PR:L at minimum. EPSS at 0.16% (6th percentile) signals low automated or widespread scanning activity. SSVC rates exploitation at PoC level, automatable as No (due to the upload-permission prerequisite), and technical impact as Partial - consistent with a confined but real stored XSS risk. There is no CISA KEV listing. Despite the low EPSS, the combination of a public PoC (WPScan), stored delivery mechanism, and the ability to reach administrator sessions creates meaningful privilege escalation potential on sites that broadly grant SVG upload access to non-admin roles. Sites where SVG upload is restricted to administrators only are not exposed to external exploitation.

Exploit ScenarioDerived

An attacker with Author-level WordPress credentials - on a site where an administrator has enabled SVG upload access for that role - uploads a crafted .svgz file containing a JavaScript payload (e.g., a script that POSTs the victim's nonce and session cookie to an attacker-controlled endpoint). The attacker embeds the .svgz as a media attachment in a post or page. When an administrator previews or visits that content, their browser decompresses and renders the file as SVG, executing the script within the WordPress origin and silently transmitting the session token. A public PoC is available via WPScan, reducing the exploitation skill bar.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 03, 2026

Stored XSS in the SVG Support WordPress plugin (before 2.5.17) is achieved by uploading a script-bearing .svgz file, bypassing the plugin's sanitization logic that applies only to .svg uploads despite both extensions being registered and served as SVG content. Any WordPress user role granted SVG upload access - such as an Author - can plant the payload, which then executes in the browser of any subsequent visitor, including administrators, enabling session hijacking or privileged action injection. A public proof-of-concept exists via WPScan; EPSS is low (0.16%, 6th percentile) and SSVC rates exploitation as non-automatable, but the stored nature of the payload and admin-reachability elevate practical impact.

RemediationAI

Update SVG Support to version 2.5.17 or later, which extends the existing SVG sanitization routine to cover .svgz uploads in addition to .svg files; this is the vendor-confirmed patch per the WPScan advisory at https://wpscan.com/vulnerability/819ae1bd-3552-4e2f-a95a-0069852d745f/. If immediate patching is not possible, revoke SVG upload permissions from all non-administrator roles via the plugin's settings - this eliminates the attack surface entirely but prevents Authors and Editors from uploading SVG/SVGZ content until the patch is applied. A server-level alternative is to add a rule in .htaccess (Apache) or a location block (nginx) that blocks POST requests uploading .svgz files to the WordPress uploads directory, though this may silently break workflows for any role currently relying on .svgz uploads. Do not rely solely on toggling the plugin's SVG upload restriction, as that control's scope may not extend to .svgz files prior to 2.5.17.

Affected VersionsENISA

SVG Support 0 <2.5.17

Affected Packages

euvd svg_support fix: 2.5.17

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

SVG Support is a WordPress plugin (CPE: cpe:2.3:a:unknown:svg_support:*:*:*:*:*:*:*:*) that allows WordPress media uploads to include Scalable Vector Graphics files. Because SVG is an XML-based format capable of embedding JavaScript, the plugin implements a sanitization routine for uploaded .svg files. However, the code path responsible for sanitization is keyed to the .svg extension and is not applied to .svgz (gzip-compressed SVG), even though the plugin registers .svgz files under the same SVG MIME type and serves them identically in the browser. The browser decompresses and renders the .svgz as a full SVG document, executing any embedded script. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation - Stored XSS): user-controlled file content reaches a browser rendering context without neutralization, due to an incomplete extension-based sanitization gate. The scope change (S:C in the CVSS vector) reflects that the payload executes within the WordPress site's origin, enabling cross-origin cookie access and action forgery against other authenticated sessions.

Know when Svg Support 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

Vendor (WPScan) PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

Exploitation requires at minimum Author-level authenticated access with granted SVG upload permission, warranting PR:L rather than the NVD-assigned PR:N; all other metrics align with stored XSS delivering cross-origin impact.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (WPScan).

CVSS VectorVendor: WPScan

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

3
Patch available
Aug 03, 2026 - 07:01 EUVD
CVE Published
Aug 03, 2026 - 06:00 cve.org
UNKNOWN (no severity yet)
CVE Published
Aug 03, 2026 - 06:00 cve.org
MEDIUM 6.1

DescriptionCVE.org

The SVG Support WordPress plugin before 2.5.17 does not apply its SVG sanitisation to uploaded files using the .svgz extension, even though it registers and serves them as SVG, allowing a user permitted to upload SVGs (such as an Author once granted upload access) to store a script-bearing file that executes in the browser of anyone who later views it, including an administrator.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Medium
popular WordPress SVG-upload plugin, moderate but not universal install base
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy