Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-5945: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in shortpixel WP SVG Images

0
Medium
VulnerabilityCVE-2024-5945cvecve-2024-5945cwe-79
Published: Fri Jun 21 2024 (06/21/2024, 07:39:58 UTC)
Source: CVE Database V5
Vendor/Project: shortpixel
Product: 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

AILast updated: 04/09/2026, 14:51:50 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses