CVE-2024-7103 Reflected Cross-Site Scripting (XSS) in WSO2 Identity Server 7.0.0 Sub-Organization Login Flow

Medium 4.6 Published Updated

Attackers can inject JavaScript into the WSO2 Identity Server login flow to manipulate the UI or exfiltrate data, though session cookies remain protected.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-7103?

CVE-2024-7103 is a medium-severity cross-site scripting vulnerability in Wso2 Identity Server, published on 22 May 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

A reflected cross-site scripting (XSS) vulnerability exists in the sub-organization login flow of WSO2 Identity Server 7.0.0 due to improper input validation. A malicious actor can exploit this vulnerability to inject arbitrary JavaScript into the login flow, potentially leading to UI modifications, redirections to malicious websites, or data exfiltration from the browser.

While this issue could allow an attacker to manipulate the user’s browser, session-related sensitive cookies remain protected with the httpOnly flag, preventing session hijacking.

Weakness: CWE-79

Which versions are affected by CVE-2024-7103?

It affects 1 product.

Products include Wso2 Identity Server.

How do I fix CVE-2024-7103?

No fix has been published for CVE-2024-7103 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-2024-7103 being exploited?

There is no known exploitation of CVE-2024-7103 in the wild and no public exploit code.

All Wso2 Identity Server vulnerabilities

Sources

Also known as GHSA-2rg9-797v-v3pv.

Is CVE-2024-7103 in your software?

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

Check your SBOMs for free