{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "4.2.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "572610e8e6564a647044bdb454eda658e1253352"
            }
          ],
          "repo": "https://github.com/wso2/product-apim",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "A reflected cross-site scripting (XSS) vulnerability in /authenticationendpoint/login.do of WSO2 API Manager before 4.2.0 allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the tenantDomain parameter.",
  "id": "CVE-2023-31664",
  "modified": "2026-03-13T21:55:18.558971750Z",
  "published": "2023-05-23T01:15:09.867Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/wso2/product-apim/releases/tag/v4.2.0"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/wso2/api-manager/issues?q=is%3Aissue+is%3Aclosed+label%3AComponent%2FAPIM+closed%3A2022-04-05..2023-03-11"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/adilkhan7/CVE-2023-31664"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}