{
  "CVE_data_meta": {
    "ID": "CVE-2021-24965",
    "ASSIGNER": "contact@wpscan.com",
    "STATE": "PUBLIC",
    "TITLE": "Five Star Restaurant Reservations < 2.4.8 - Subscriber+ Stored Cross-Site Scripting"
  },
  "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": "Five Star Restaurant Reservations – WordPress Booking Plugin",
                "version": {
                  "version_data": [
                    {
                      "version_affected": "<",
                      "version_name": "2.4.8",
                      "version_value": "2.4.8"
                    }
                  ]
                }
              }
            ]
          }
        }
      ]
    }
  },
  "description": {
    "description_data": [
      {
        "lang": "eng",
        "value": "The Five Star Restaurant Reservations WordPress plugin before 2.4.8 does not have capability and CSRF checks in the rtb_welcome_set_schedule AJAX action, allowing any authenticated users to call it. Due to the lack of sanitisation and escaping, users with a role as low as subscriber could perform Cross-Site Scripting attacks against logged in admins"
      }
    ]
  },
  "references": {
    "reference_data": [
      {
        "refsource": "MISC",
        "url": "https://wpscan.com/vulnerability/306ecf09-fdf0-449c-930c-9dfa58f0efc2",
        "name": "https://wpscan.com/vulnerability/306ecf09-fdf0-449c-930c-9dfa58f0efc2"
      }
    ]
  },
  "problemtype": {
    "problemtype_data": [
      {
        "description": [
          {
            "value": "CWE-79 Cross-site Scripting (XSS)",
            "lang": "eng"
          }
        ]
      }
    ]
  },
  "credit": [
    {
      "lang": "eng",
      "value": "Krzysztof Zając"
    }
  ],
  "source": {
    "discovery": "EXTERNAL"
  }
}