{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "3.5.1"
              },
              {
                "introduced": "0"
              },
              {
                "last_affected": "3.6.0"
              },
              {
                "introduced": "0"
              },
              {
                "last_affected": "3.7.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "1fe3e13ef030b04b68a70161d1fa1b4223f50410"
            },
            {
              "introduced": "0"
            },
            {
              "last_affected": "991c00b114dda77f0e940498482526d1882213a3"
            },
            {
              "introduced": "0"
            },
            {
              "last_affected": "42626043c180f21694d97e0bcc398eded03eddbf"
            },
            {
              "fixed": "a79983f843c37705182c8f54eba060c1dce3b6d1"
            }
          ],
          "repo": "https://github.com/steve-community/steve",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "SteVe is an open platform that implements different version of the OCPP protocol for Electric Vehicle charge points, acting as a central server for management of registered charge points. Attackers can inject arbitrary HTML and Javascript code via WebSockets leading to persistent Cross-Site Scripting in the SteVe management interface.",
  "id": "CVE-2024-21550",
  "modified": "2026-04-01T23:09:50.797651039Z",
  "published": "2024-08-12T15:15:19.903Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/steve-community/steve/blob/steve-3.6.0/src/main/java/de/rwth/idsg/steve/config/WebSocketConfiguration.java#L69"
    },
    {
      "type": "FIX",
      "url": "https://github.com/steve-community/steve/issues/1526"
    },
    {
      "type": "FIX",
      "url": "https://github.com/steve-community/steve/pull/1527"
    },
    {
      "type": "FIX",
      "url": "https://github.com/steve-community/steve/commit/a79983f843c37705182c8f54eba060c1dce3b6d1"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}