WP SVG Images <= 3.3 - Authenticated (author+) Stored Cross-Site Scripting via SVG

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2021-24386
CVSS Medium (6.4)
Publicly Published June 14, 2021
Last Updated January 22, 2024
Researcher Rasi
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.

References

1 affected software package

Software Type Plugin
Software Slug wp-svg-images (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 3.3
Patched Version
  • 3.4
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.