CVE-2023-6708
Description
The SVG Support plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the SVG upload feature in all versions up to, and including, 2.5.7 due to insufficient input sanitization and output escaping, even when the 'Sanitize SVG while uploading' feature is enabled. 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 an injected page. Note that successful exploitation of this vulnerability requires the administrator to allow author-level users to upload SVG files. As of 2.5.6, SVG sanitization can still be bypassed by supplying a content-type other than image/svg+xml.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Stored XSS in SVG Support plugin up to 2.5.7 allows authenticated authors to inject scripts via SVG uploads even with sanitization enabled.
The SVG Support plugin for WordPress offers a feature to upload SVG files with automatic sanitization [1]. However, CVE-2023-6708 reveals that the plugin's input sanitization and output escaping are insufficient, even when the "Sanitize SVG while uploading" option is enabled. This stored cross-site scripting vulnerability affects all versions up to and including 2.5.7.
Exploitation requires authenticated access at the author level or higher, and the administrator must allow author-level users to upload SVG files. An attacker can craft a malicious SVG file that bypasses sanitization; specifically, the bypass can be achieved by supplying a content-type other than image/svg+xml. Once uploaded, the script is stored and executed when any user views the infected page.
Successful exploitation allows arbitrary web script injection, which can steal sensitive data, perform actions on behalf of the victim, or deface the site. The impact is moderate due to the prerequisites (author-level access and admin permission), but the stored nature increases the risk.
As of the advisory, no patch is explicitly mentioned for versions after 2.5.7. Users should update to the latest version if available, or restrict SVG upload capabilities to trusted users only.
AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- plugins.trac.wordpress.org/browser/svg-support/trunk/functions/attachment.phpnvd
- plugins.trac.wordpress.org/browser/svg-support/trunk/svg-support.phpnvd
- plugins.trac.wordpress.org/changesetnvd
- wordpress.org/plugins/svg-support/nvd
- www.wordfence.com/threat-intel/vulnerabilities/id/72bcfd2a-6803-4073-8fa9-62bcf0a10571nvd
News mentions
0No linked articles in our index yet.