Description
WordPress Plugin Safe SVG is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input. An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks. WordPress Plugin Safe SVG version 1.9.5 is vulnerable; prior versions may also be affected.
Remediation
Update to plugin version 1.9.6 or latest
References
https://github.com/darylldoyle/svg-sanitizer/issues/31
https://github.com/darylldoyle/safe-svg/issues/9
https://plugins.trac.wordpress.org/browser/safe-svg/trunk/readme.txt?rev=2187572
Related Vulnerabilities
Oracle JRE CVE-2022-21434 Vulnerability (CVE-2022-21434)
MySQL CVE-2020-2573 Vulnerability (CVE-2020-2573)
WordPress Inadequate Encryption Strength Vulnerability (CVE-2012-6707)
OpenSSL Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2015-3195)
SharePoint Deserialization of Untrusted Data Vulnerability (CVE-2025-53770)