CVE-2023-6708
JSON

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 packageVersionsReported by
benbodhi SVG Supportup to 2.5.7CVE List

Classification

CWE-79

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

SourceRecordLicence
CVE ListCVE-2023-6708 changed 2026-04-08CVE Terms of Use
NVDCVE-2023-6708 changed 2026-06-17Public domain