{
  "CVE_data_meta": {
    "ID": "CVE-2021-24362",
    "ASSIGNER": "contact@wpscan.com",
    "STATE": "PUBLIC",
    "TITLE": "Photo Gallery < 1.5.75 - Stored Cross-Site Scripting via Uploaded SVG"
  },
  "data_format": "MITRE",
  "data_type": "CVE",
  "data_version": "4.0",
  "generator": "WPScan CVE Generator",
  "affects": {
    "vendor": {
      "vendor_data": [
        {
          "vendor_name": "Unknown",
          "product": {
            "product_data": [
              {
                "product_name": "Photo Gallery by 10Web – Mobile-Friendly Image Gallery",
                "version": {
                  "version_data": [
                    {
                      "version_affected": "<",
                      "version_name": "1.5.75",
                      "version_value": "1.5.75"
                    }
                  ]
                }
              }
            ]
          }
        }
      ]
    }
  },
  "description": {
    "description_data": [
      {
        "lang": "eng",
        "value": "The Photo Gallery by 10Web – Mobile-Friendly Image Gallery WordPress plugin before 1.5.75 did not ensure that uploaded SVG files added to a gallery do not contain malicious content. As a result, users allowed to add images to gallery can upload an SVG file containing JavaScript code, which will be executed when accessing the image directly (ie in the /wp-content/uploads/photo-gallery/ folder), leading to a Cross-Site Scripting (XSS) issue"
      }
    ]
  },
  "references": {
    "reference_data": [
      {
        "refsource": "MISC",
        "url": "https://wpscan.com/vulnerability/57823dcb-2149-47f7-aae2-d9f04dce851a",
        "name": "https://wpscan.com/vulnerability/57823dcb-2149-47f7-aae2-d9f04dce851a"
      }
    ]
  },
  "problemtype": {
    "problemtype_data": [
      {
        "description": [
          {
            "value": "CWE-79 Cross-site Scripting (XSS)",
            "lang": "eng"
          }
        ]
      }
    ]
  },
  "credit": [
    {
      "lang": "eng",
      "value": "avolume"
    }
  ],
  "source": {
    "discovery": "UNKNOWN"
  }
}
