6.4
MEDIUM
CVE-2024-5945
WordPress WP SVG Images Stored Cross-Site Scripting
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.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.

INFO

Published Date :

June 21, 2024, 8:15 a.m.

Last Modified :

June 24, 2024, 7:24 p.m.

Remotely Exploitable :

Yes !

Impact Score :

2.7

Exploitability Score :

3.1
Affected Products

The following products are affected by CVE-2024-5945 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Kubiq wp_svg_images
References to Advisories, Solutions, and Tools

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-5945 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-5945 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Jun. 24, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
    Changed Reference Type https://plugins.trac.wordpress.org/browser/wp-svg-images/trunk/wp-svg-images.php#L111 No Types Assigned https://plugins.trac.wordpress.org/browser/wp-svg-images/trunk/wp-svg-images.php#L111 Product
    Changed Reference Type https://plugins.trac.wordpress.org/browser/wp-svg-images/trunk/wp-svg-images.php#L313 No Types Assigned https://plugins.trac.wordpress.org/browser/wp-svg-images/trunk/wp-svg-images.php#L313 Product
    Changed Reference Type https://plugins.trac.wordpress.org/changeset/3105276/ No Types Assigned https://plugins.trac.wordpress.org/changeset/3105276/ Patch
    Changed Reference Type https://www.wordfence.com/threat-intel/vulnerabilities/id/389d96e9-1fad-49a6-89b6-8f7f108d8117?source=cve No Types Assigned https://www.wordfence.com/threat-intel/vulnerabilities/id/389d96e9-1fad-49a6-89b6-8f7f108d8117?source=cve Third Party Advisory
    Added CWE NIST CWE-79
    Added CPE Configuration OR *cpe:2.3:a:kubiq:wp_svg_images:*:*:*:*:*:wordpress:*:* versions up to (excluding) 4.3
  • CVE Received by [email protected]

    Jun. 21, 2024

    Action Type Old Value New Value
    Added 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.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.
    Added Reference Wordfence https://www.wordfence.com/threat-intel/vulnerabilities/id/389d96e9-1fad-49a6-89b6-8f7f108d8117?source=cve [No types assigned]
    Added Reference Wordfence https://plugins.trac.wordpress.org/browser/wp-svg-images/trunk/wp-svg-images.php#L111 [No types assigned]
    Added Reference Wordfence https://plugins.trac.wordpress.org/browser/wp-svg-images/trunk/wp-svg-images.php#L313 [No types assigned]
    Added Reference Wordfence https://plugins.trac.wordpress.org/changeset/3105276/ [No types assigned]
    Added CVSS V3.1 Wordfence AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-5945 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-5945 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability