{ "data_version": "4.0", "data_type": "CVE", "data_format": "MITRE", "CVE_data_meta": { "ID": "CVE-2024-5945", "ASSIGNER": "security@wordfence.com", "STATE": "PUBLIC" }, "description": { "description_data": [ { "lang": "eng", "value": "The WP SVG Images plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the \u2018type\u2019 parameter in all versions up to, and including, 4.2 due to insufficient input sanitization. This makes it possible for authenticated attackers, with Author-level access and above, who have permissions to upload sanitized files, to bypass SVG sanitization and inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')" } ] } ] }, "affects": { "vendor": { "vendor_data": [ { "vendor_name": "shortpixel", "product": { "product_data": [ { "product_name": "WP SVG Images", "version": { "version_data": [ { "version_affected": "<=", "version_name": "*", "version_value": "4.2" } ] } } ] } } ] } }, "references": { "reference_data": [ { "url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/389d96e9-1fad-49a6-89b6-8f7f108d8117?source=cve", "refsource": "MISC", "name": "https://www.wordfence.com/threat-intel/vulnerabilities/id/389d96e9-1fad-49a6-89b6-8f7f108d8117?source=cve" }, { "url": "https://plugins.trac.wordpress.org/browser/wp-svg-images/trunk/wp-svg-images.php#L111", "refsource": "MISC", "name": "https://plugins.trac.wordpress.org/browser/wp-svg-images/trunk/wp-svg-images.php#L111" }, { "url": "https://plugins.trac.wordpress.org/browser/wp-svg-images/trunk/wp-svg-images.php#L313", "refsource": "MISC", "name": "https://plugins.trac.wordpress.org/browser/wp-svg-images/trunk/wp-svg-images.php#L313" }, { "url": "https://plugins.trac.wordpress.org/changeset/3105276/", "refsource": "MISC", "name": "https://plugins.trac.wordpress.org/changeset/3105276/" } ] }, "credits": [ { "lang": "en", "value": "Colin Xu" } ], "impact": { "cvss": [ { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N", "baseScore": 6.4, "baseSeverity": "MEDIUM" } ] } }