CVE-2023-31664 Cross-site scripting in n/a

Medium 6.1 Published Updated

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.

All Wso2 Api Manager vulnerabilities

Sources

Also known as GHSA-wxgr-gr5h-f8jj.

Is CVE-2023-31664 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free