5.4medium
WP SVG Images < 3.4 - Authenticated (author+) Stored XSS via SVG
- Severity
- 5.4medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.66% (higher than 52% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- WPScan
Description
The WP SVG images WordPress plugin before 3.4 did not sanitise the SVG files uploaded, which could allow low privilege users such as author+ to upload a malicious SVG and then perform XSS attacks by inducing another user to access the file directly. In v3.4, the plugin restricted such upload to editors and admin, with an option to also allow author to do so. The description of the plugin has also been updated with a security warning as upload of such content is intended.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| KubiQ WP SVG images | from 3.4 before 3.4 | CVE List |
| kubiq wp_svg_images | before 3.4 | NVD |
All scores
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.5low CVSS:2.0 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Classification
What each source says
CVE List
The WP SVG images WordPress plugin before 3.4 did not sanitise the SVG files uploaded, which could allow low privilege users such as author+ to upload a malicious SVG and then perform XSS attacks by inducing another user to access the file directly. In v3.4, the plugin restricted such upload to editors and admin, with an option to also allow author to do so. The description of the plugin has also been updated with a security warning as upload of such content is intended.
NVD (es)
El plugin WP SVG images de WordPress versiones anteriores a 3.4, no sanea los archivos SVG cargados, lo que podía permitir a usuarios poco privilegiados, tal y como author+, para cargar un SVG malicioso y luego llevar a cabo ataques de tipo XSS induciendo a otro usuario a acceder al archivo directamente. En la versión v3.4, el plugin restringía tal carga a los editores y al administrador, con una opción para permitir también al autor. La descripción del plugin también ha sido actualizada con una advertencia de seguridad, ya que se pretende cargar dicho contenido
References
| https://wpscan.com/vulnerability/e9b48b19-14cc-41ad-a029-f7f9ae236e4e | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-24386 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-24386 changed 2026-06-17 | Public domain |