CVE-2024-11847: Digimix/wp svg upload Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-v2rr-fhv8-mx74
CVSS 4.8
CWE-79
Published
Advisory Summary

CVE-2024-11847 is a MODERATE (CVSS 4.8) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Digimix/wp svg upload libraries in the Packagist ecosystem. The issue involves wp-svg-upload wordpress plugin vulnerable to stored cross-site scripting. Remediation is available in the latest vendor maintenance releases.

CVE-2024-11847 at a Glance

CVE Identifier CVE-2024-11847
GHSA Identifier GHSA-v2rr-fhv8-mx74
Severity MODERATE
CVSS v3.1 Base Score 4.8
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Digimix/wp svg upload
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 4.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2024-11847

To remediate this vulnerability, upgrade all affected Digimix/wp svg upload dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

digimix/wp-svg-upload fixed: Latest secure release
Upgrade digimix/wp-svg-upload to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for digimix/wp-svg-upload

How to Check if You Are Affected

To determine whether your application is affected by CVE-2024-11847, inspect your project dependencies for Digimix/wp svg upload:

inspect dependencies for digimix/wp-svg-upload

Analyze the terminal output to locate any version of Digimix/wp svg upload in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Digimix/wp svg upload, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

The wp-svg-upload WordPress plugin through 1.0.0 does not sanitize SVG file contents, which enables users with at least the author role to SVG with malicious JavaScript to conduct Stored XSS attacks.

CVE-2024-11847 Affected Digimix/wp svg upload Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
digimix/wp-svg-upload
Packagist
≤ 1.0.0

References

Frequently Asked Questions

What is CVE-2024-11847?
CVE-2024-11847 is a security vulnerability in Digimix/wp svg upload involving wp-svg-upload WordPress plugin vulnerable to Stored Cross-site Scripting under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Digimix/wp svg upload versions are affected?
Affected versions include releases prior to current release patches across affected packages: digimix/wp-svg-upload.
What version fixes CVE-2024-11847?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is digimix/wp-svg-upload affected?
Yes, digimix/wp-svg-upload is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2024-11847?
CVE-2024-11847 has a CVSS v3.1 base score of 4.8 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2024-11847?
CVE-2024-11847 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check Packagist dependencies for CVE-2024-11847?
Run the dependency tree command: 'inspect dependencies for digimix/wp-svg-upload'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-v2rr-fhv8-mx74",
  "modified" : "2025-04-01T20:59:14Z",
  "published" : "2025-03-26T06:31:37Z",
  "aliases" : [ "CVE-2024-11847" ],
  "summary" : "wp-svg-upload WordPress plugin vulnerable to Stored Cross-site Scripting",
  "details" : "The wp-svg-upload WordPress plugin through 1.0.0 does not sanitize SVG file contents, which enables users with at least the author role to SVG with malicious JavaScript to conduct Stored XSS attacks.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "digimix/wp-svg-upload"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "1.0.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-11847"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/digimix/wp-svg-upload"
  }, {
    "type" : "WEB",
    "url" : "https://wpscan.com/vulnerability/f57ecff2-0cff-40c7-b6e4-5b162b847d65"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-04-01T20:59:13Z",
    "nvd_published_at" : "2025-03-26T06:15:28Z"
  }
}