5.4medium
SVG Support <= 2.5.7 - Authenticated (Author+) Cross-Site Scripting via SVG
- Severity
- 5.4medium CVSS:3.1 by Wordfence
- Exploit likelihood
- 0.64% (higher than 45% of CVEs)
- Published
- Last changed
- Assigned by
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| benbodhi SVG Support | up to 2.5.7 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
El complemento SVG Support para WordPress es vulnerable a Cross-Site Scripting Almacenado a través de la función de carga de SVG en todas las versiones hasta la 2.5.5 incluida debido a una sanitización de entrada y un escape de salida insuficientes, incluso cuando la función "Desinfectar SVG durante la carga" está habilitado. Esto hace posible que atacantes autenticados, con acceso a nivel de autor y superior, inyecten scripts web arbitrarios en páginas que se ejecutarán cada vez que un usuario acceda a una página inyectada. Tenga en cuenta que la explotación exitosa de esta vulnerabilidad requiere que el administrador permita a los usuarios de nivel de autor cargar archivos SVG.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-6708 changed 2026-04-08 | CVE Terms of Use |
| NVD | CVE-2023-6708 changed 2026-06-17 | Public domain |