CVE-2026-13340: CWE-79 Cross-Site Scripting (XSS) in SVG Support
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.
AI Analysis
Technical Summary
CVE-2026-13340 is a cross-site scripting (XSS) vulnerability in the SVG Support WordPress plugin. The plugin does not apply its SVG sanitization process to files with the .svgz extension, despite serving them as SVG images. This oversight enables users with upload privileges to store malicious script content within .svgz files. When these files are viewed, the embedded scripts execute in the context of the viewer's browser, potentially compromising user sessions or site integrity. The vulnerability affects all versions before 2.5.17 of the plugin. No official patch or remediation guidance is currently provided by the vendor.
Potential Impact
An attacker with upload permissions can upload malicious .svgz files containing executable scripts. These scripts run in the browsers of users who view the files, including administrators, leading to potential session hijacking, privilege escalation, or other client-side attacks typical of XSS vulnerabilities. This undermines site security and user trust.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict SVG upload permissions to trusted users only and avoid uploading .svgz files. Monitor for updates from the plugin vendor regarding a security patch.
CVE-2026-13340: CWE-79 Cross-Site Scripting (XSS) in SVG Support
Description
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.
CVSS v3.1
Score 6.1medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-13340 is a cross-site scripting (XSS) vulnerability in the SVG Support WordPress plugin. The plugin does not apply its SVG sanitization process to files with the .svgz extension, despite serving them as SVG images. This oversight enables users with upload privileges to store malicious script content within .svgz files. When these files are viewed, the embedded scripts execute in the context of the viewer's browser, potentially compromising user sessions or site integrity. The vulnerability affects all versions before 2.5.17 of the plugin. No official patch or remediation guidance is currently provided by the vendor.
Potential Impact
An attacker with upload permissions can upload malicious .svgz files containing executable scripts. These scripts run in the browsers of users who view the files, including administrators, leading to potential session hijacking, privilege escalation, or other client-side attacks typical of XSS vulnerabilities. This undermines site security and user trust.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict SVG upload permissions to trusted users only and avoid uploading .svgz files. Monitor for updates from the plugin vendor regarding a security patch.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- WPScan
- Date Reserved
- 2026-06-25T14:09:15.204Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a70364dbf32cb7a34182916
Added to database: 08/03/2026, 06:33:49 UTC
Last enriched: 08/03/2026, 07:07:48 UTC
Last updated: 08/04/2026, 03:17:47 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.