CVE-2024-5945: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in shortpixel WP SVG Images
The WP SVG Images plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘type’ parameter in all versions up to, and including, 4.3 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. A bypass to the patch in version 4.3 was discovered and fixed completely in version 4.4.
AI Analysis
Technical Summary
CVE-2024-5945 is a stored cross-site scripting vulnerability in the WP SVG Images plugin for WordPress. It arises from insufficient input sanitization of the 'type' parameter, allowing authenticated users with Author-level or higher privileges who can upload sanitized files to inject arbitrary scripts into pages. These scripts execute in the context of users viewing the injected pages. Although version 4.3 included a patch, a bypass was discovered and completely resolved in version 4.4. The vulnerability has a CVSS 3.1 base score of 6.4 (medium severity), with network attack vector, low attack complexity, privileges required at the level of an authenticated author, no user interaction required, and impacts confidentiality and integrity with no availability impact.
Potential Impact
An attacker with Author-level or higher privileges can exploit this vulnerability to inject malicious scripts that execute in the browsers of users who visit the compromised pages. This can lead to unauthorized actions performed on behalf of users, data theft, or session hijacking. The impact affects confidentiality and integrity but does not affect availability. There are no known exploits in the wild as of the published date.
Mitigation Recommendations
Users should upgrade the WP SVG Images plugin to version 4.4 or later, where the vulnerability is fully fixed. Version 4.3 included a patch, but it was bypassed, so only version 4.4 or newer provides complete remediation. Since this is not a cloud service, remediation depends on applying the official plugin update. Patch status is not explicitly stated in the input but can be inferred from the description; however, users should verify the vendor advisory for the latest guidance.
CVE-2024-5945: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in shortpixel WP SVG Images
Description
The WP SVG Images plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘type’ parameter in all versions up to, and including, 4.3 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. A bypass to the patch in version 4.3 was discovered and fixed completely in version 4.4.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-5945 is a stored cross-site scripting vulnerability in the WP SVG Images plugin for WordPress. It arises from insufficient input sanitization of the 'type' parameter, allowing authenticated users with Author-level or higher privileges who can upload sanitized files to inject arbitrary scripts into pages. These scripts execute in the context of users viewing the injected pages. Although version 4.3 included a patch, a bypass was discovered and completely resolved in version 4.4. The vulnerability has a CVSS 3.1 base score of 6.4 (medium severity), with network attack vector, low attack complexity, privileges required at the level of an authenticated author, no user interaction required, and impacts confidentiality and integrity with no availability impact.
Potential Impact
An attacker with Author-level or higher privileges can exploit this vulnerability to inject malicious scripts that execute in the browsers of users who visit the compromised pages. This can lead to unauthorized actions performed on behalf of users, data theft, or session hijacking. The impact affects confidentiality and integrity but does not affect availability. There are no known exploits in the wild as of the published date.
Mitigation Recommendations
Users should upgrade the WP SVG Images plugin to version 4.4 or later, where the vulnerability is fully fixed. Version 4.3 included a patch, but it was bypassed, so only version 4.4 or newer provides complete remediation. Since this is not a cloud service, remediation depends on applying the official plugin update. Patch status is not explicitly stated in the input but can be inferred from the description; however, users should verify the vendor advisory for the latest guidance.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-06-13T00:42:05.746Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6bf8b7ef31ef0b55d266
Added to database: 2/25/2026, 9:39:04 PM
Last enriched: 4/9/2026, 2:51:50 PM
Last updated: 4/12/2026, 10:33:52 AM
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.