CVE-2024-5848

Reflected Cross-Site Scripting (XSS) in Multiple WSO2 Products Due to Improper Input Validation

Description

A reflected cross-site scripting (XSS) vulnerability exists in multiple WSO2 products due to improper input validation. User-supplied data is directly included in server responses from vulnerable service endpoints without proper sanitization or encoding, allowing an attacker to inject malicious JavaScript. Successful exploitation could lead to UI manipulation, redirection to malicious websites, or data exfiltration from the browser. While session-related sensitive cookies are protected with the httpOnly flag, mitigating session hijacking risks, the impact may vary depending on gateway-level service restrictions.

Remediation

Solution:

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

Category

6.1
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.04%
Vendor Advisory wso2.com
Affected: WSO2 WSO2 API Manager
Affected: WSO2 WSO2 Open Banking AM
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-5848?
CVE-2024-5848 has been scored as a medium severity vulnerability.
How to fix CVE-2024-5848?
To fix CVE-2024-5848: Follow the instructions given on https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2024/WSO2-2024-3450/#solution https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2024/WSO2-2024-3450/#solution
Is CVE-2024-5848 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-5848 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-5848?
CVE-2024-5848 affects WSO2 WSO2 API Manager, WSO2 WSO2 Open Banking AM.
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.