Safe SVG <= 1.9.9 - Content-Type Bypass

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2022-1091
CVSS High (7.7)
Publicly Published March 25, 2022
Last Updated January 22, 2024
Researcher David Hamann
Description

The sanitisation step of the Safe SVG WordPress plugin before 1.9.10 can be bypassed by spoofing the content-type in the POST request to upload a file. Exploiting this vulnerability, an attacker will be able to perform the kinds of attacks that this plugin should prevent (mainly XSS, but depending on further use of uploaded SVG files potentially other XML attacks).

References

1 affected software package

Software Type Plugin
Software Slug safe-svg (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 1.9.10
Patched Version
  • 1.9.10
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.