CVE-2023-6708
published medium CVSS 3.1 · 5.4SVG Support <= 2.5.7 - Authenticated (Author+) Cross-Site Scripting via SVG
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| benbodhi | — | SVG Support0 through 2.5.7 · Other versions: unaffected | Affected | Not stated | Wordfence |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| benbodhi | SVG Support | 0 through 2.5.7 (affected · semver)Default: unaffected | Wordfence · cna |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
5- https://plugins.trac.wordpress.org/browser/svg-support/trunk/functions/attachment.php#L235
- https://plugins.trac.wordpress.org/browser/svg-support/trunk/svg-support.php#L110
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3133760%40svg-support&new=3133760%40svg-support&sfp_email=&sfph_mail=
- https://wordpress.org/plugins/svg-support/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/72bcfd2a-6803-4073-8fa9-62bcf0a10571?source=cve
Provider assertions
3Wordfence · cna
SVG Support <= 2.5.7 - Authenticated (Author+) Cross-Site Scripting via SVG
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 25eb83b6c1e308c02eb5d5d1b93225217d049393af74e55ddcab70540e285ccc
- Ingested
- 23 Sep 2026, 08:15:54 UTC
- Source record
- Official CVE record