CVE-2024-5962

Reflected Cross-Site Scripting (XSS) in Authentication Endpoint of Multiple WSO2 Products Due to Missing Output Encoding

Description

A reflected cross-site scripting (XSS) vulnerability exists in the authentication endpoint of multiple WSO2 products due to missing output encoding of user-supplied input. A malicious actor can exploit this vulnerability to inject arbitrary JavaScript into the authentication 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.

Remediation

Solution:

  • Follow the instructions given on https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2024/WSO2-2024-3... https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2024/WSO2-2024-3443/#solution

Category

6.1
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.03%
Vendor Advisory wso2.com
Affected: WSO2 WSO2 API Manager
Affected: WSO2 WSO2 Identity Server
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-5962?
CVE-2024-5962 has been scored as a medium severity vulnerability.
How to fix CVE-2024-5962?
To fix CVE-2024-5962: Follow the instructions given on https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2024/WSO2-2024-3... https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2024/WSO2-2024-3443/#solution
Is CVE-2024-5962 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-5962 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-5962?
CVE-2024-5962 affects WSO2 WSO2 API Manager, WSO2 WSO2 Identity Server.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.