PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2024-5945: 
WordPress vulnerability analysis and mitigation

Overview

The WP SVG Images plugin for WordPress (CVE-2024-5945) contains a Stored Cross-Site Scripting vulnerability affecting all versions up to and including 4.2. The vulnerability was discovered and disclosed on June 21, 2024, and affects the plugin's handling of the 'type' parameter (NVD).

Technical details

The vulnerability stems from insufficient input sanitization in the plugin's handling of the 'type' parameter. The issue has been assigned a CVSS v3.1 base score of 5.4 (Medium) by NVD with a vector string of CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N. Wordfence has assigned a slightly higher CVSS score of 6.4 (Medium) with a vector string of CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N (NVD).

Impact

The vulnerability allows authenticated attackers with Author-level access or higher to bypass SVG sanitization and inject arbitrary web scripts into pages. These malicious scripts will execute whenever a user accesses an affected page, potentially compromising the security of site visitors (NVD).

Exploitability

The vulnerability requires an authenticated user with Author-level privileges or higher who has permissions to upload sanitized files. The attacker can then exploit the insufficient input sanitization to bypass the SVG sanitization mechanisms (NVD).

Mitigation and workarounds

Users should update to version 4.3 or later of the WP SVG Images plugin, which contains fixes for this vulnerability. A patch has been released and is available through the WordPress plugin repository (WordPress Patch).

Additional resources


Source: This report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-107907MEDIUM6.5
  • masvideos
NoNoOct 21, 2026
CVE-2026-87835MEDIUM6.4
  • front-end-only-users
NoNoOct 21, 2026
CVE-2026-97353MEDIUM5.4
  • news-kit-elementor-addons
NoNoOct 21, 2026
CVE-2026-107887MEDIUM5.4
  • advanced-twenty-seventeen
NoNoOct 21, 2026
CVE-2026-97352MEDIUM4.3
  • news-kit-elementor-addons
NoNoOct 21, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management