Wso2 · Wso2 Api Manager · CVE-2023-31664
**Name of the Vulnerable Software and Affected Versions**
WSO2 API Manager versions prior to 4.2.0
**Description**
A reflected cross-site scripting (XSS) issue allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the `tenantDomain` parameter in the "/authenticationendpoint/login.do" API endpoint.
**Recommendations**
For versions prior to 4.2.0, update to version 4.2.0 or later to resolve the issue.
As a temporary workaround, consider restricting access to the "/authenticationendpoint/login.do" API endpoint to minimize the risk of exploitation.
Avoid using the `tenantDomain` parameter in the affected API endpoint until the issue is resolved.