# CVE-2024-5848: Reflected Cross-Site Scripting (XSS) in Multiple WSO2 Products Due to Improper Input Validation

- Severity: Medium 6.1 (CVSS:3.1, scored by WSO2) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2025-02-27T07:08:07.346Z
- Modified: 2026-06-17T08:16:46.817Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: WSO2

## 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.

(As written by CVE List.)

## Affected

- WSO2 WSO2 API Manager: before 3.1.0; from 3.1.0 before 3.1.0.285; from 3.2.0 before 3.2.0.375; from 3.2.1 before 3.2.1.10; from 4.0.0 before 4.0.0.300; from 4.1.0 before 4.1.0.160; from 4.2.0 before 4.2.0.92; from 4.3.0 before 4.3.0.10
- WSO2 WSO2 Open Banking AM: before 2.0.0; from 2.0.0 before 2.0.0.349
- wso2 api_manager: 3.1.0; 3.2.0; 3.2.1; 4.0.0; 4.1.0; 4.2.0; 4.3.0

## References

- <https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2024/WSO2-2024-3450/> (vendor-advisory)

## Sources

- CVE List: [CVE-2024-5848](https://www.cve.org/CVERecord?id=CVE-2024-5848), CVE Terms of Use, modified 2025-02-27
- NVD: [CVE-2024-5848](https://nvd.nist.gov/vuln/detail/CVE-2024-5848), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-5848 · Whole record: https://cve.day/CVE-2024-5848.json · Rebuilt by cve.day 2026-11-25T22:58:52.112Z
