Affected versions
- Affected versions
- < 1.9.10
- Fixed version
- 1.9.10
- Affected versions
- <1.9.10
- Fixed version
- 1.9.10
Exploitation
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).
Links
- https://github.com/10up/safe-svg
- https://github.com/10up/safe-svg/commit/00cb9a86d1bff2214714557d1901ec3896564e50
- https://github.com/10up/safe-svg/pull/28
- https://github.com/advisories/GHSA-5h7w-hmxc-99g5
- https://nvd.nist.gov/vuln/detail/CVE-2022-1091
- https://wpscan.com/vulnerability/4d12533e-bdb7-411f-bcdf-4c5046db13f3
- https://www.wordfence.com/threat-intel/vulnerabilities/id/fbf25275-eb33-4581-8602-e8a64ba78692?source=api-prod
Credits
- tdunlap607
- David Hamann

