The SVG Support plugin for WordPress defaults to insecure settings in version 2.5 and 2.5.1. SVG files containing malicious javascript are not sanitized. While version 2.5 adds the ability to sanitize image as they are uploaded, the plugin defaults to disable sanitization and does not restrict SVG upload to only administrators. This allows authenticated attackers, with author-level privileges and higher, to upload malicious SVG files that can be embedded in posts and pages by higher privileged users. Additionally, the embedded JavaScript is also triggered on visiting the image URL, which allows an attacker to execute malicious code in browsers visiting that URL.
History

Fri, 07 Feb 2025 21:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2025-02-07T20:32:49.213Z

Reserved: 2022-11-16T13:18:06.146Z

Link: CVE-2022-4022

cve-icon Vulnrichment

Updated: 2024-08-03T01:27:54.103Z

cve-icon NVD

Status : Modified

Published: 2022-11-16T14:15:11.547

Modified: 2024-11-21T07:34:27.860

Link: CVE-2022-4022

cve-icon Redhat

No data.