CVE-2023-31664 Cross-site scripting in n/a
Attackers can execute arbitrary scripts in WSO2 API Manager via a crafted tenantDomain parameter in the login endpoint.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2023-31664?
CVE-2023-31664 is a medium-severity cross-site scripting vulnerability in Wso2 Api Manager, published on 23 May 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-79
Which versions are affected by CVE-2023-31664?
It affects 1 product.
Products include Wso2 Api Manager.
How do I fix CVE-2023-31664?
No fix has been published for CVE-2023-31664 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2023-31664 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-31664 exists.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Wso2 Api Manager
- CVE-2022-29464 WSO2 Multiple Products Unrestrictive Upload of File
- CVE-2024-6914 Incorrect Authorization in Multiple WSO2 Products via Account Recovery SOAP Admin Service Leading to Account Takeover
- CVE-2020-13226 WSO2 API Manager vulnerable to SSRF
- CVE-2025-2905 An XML External Entity (XXE) vulnerability in Multiple WSO2 Products
- CVE-2021-42646 XML external entity in n/a
Sources
Also known as GHSA-wxgr-gr5h-f8jj.