{
  "CVE_data_meta": {
    "ID": "CVE-2021-24434",
    "ASSIGNER": "contact@wpscan.com",
    "STATE": "PUBLIC",
    "TITLE": "Glass <= 1.3.2 - CSRF to Stored Cross-Site Scripting (XSS)"
  },
  "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": "Glass",
                "version": {
                  "version_data": [
                    {
                      "version_affected": "<=",
                      "version_name": "1.3.2",
                      "version_value": "1.3.2"
                    }
                  ]
                }
              }
            ]
          }
        }
      ]
    }
  },
  "description": {
    "description_data": [
      {
        "lang": "eng",
        "value": "The Glass WordPress plugin through 1.3.2 does not sanitise or escape its \"Glass Pages\" setting before outputting in a page, leading to a Stored Cross-Site Scripting issue. Furthermore, the plugin did not have CSRF check in place when saving its settings, allowing the issue to be exploited via a CSRF attack."
      }
    ]
  },
  "references": {
    "reference_data": [
      {
        "refsource": "CONFIRM",
        "url": "https://wpscan.com/vulnerability/dbea2dc2-83f6-4e70-b044-a68a4c9b9c39",
        "name": "https://wpscan.com/vulnerability/dbea2dc2-83f6-4e70-b044-a68a4c9b9c39"
      }
    ]
  },
  "problemtype": {
    "problemtype_data": [
      {
        "description": [
          {
            "value": "CWE-79 Cross-site Scripting (XSS)",
            "lang": "eng"
          }
        ]
      },
      {
        "description": [
          {
            "value": "CWE-352 Cross-Site Request Forgery (CSRF)",
            "lang": "eng"
          }
        ]
      }
    ]
  },
  "credit": [
    {
      "lang": "eng",
      "value": "ABISHEIK M"
    }
  ],
  "source": {
    "discovery": "UNKNOWN"
  }
}
