CVE-2024-5848

published 27 Feb 2025 · updated 27 Feb 2025

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

6.1MediumCVSS 6.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in API Manager 3.1.0.285, API Manager 3.2.0.375, API Manager 3.2.1.10 and 5 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
WSO2API Manager>=3.1.0 <3.1.0.285, >=3.2.0 <3.2.0.375, >=3.2.1 <3.2.1.10, >=4.0.0 <4.0.0.300, >=4.1.0 <4.1.0.160, >=4.2.0 <4.2.0.92, >=4.3.0 <4.3.0.103.1.0.285, 3.2.0.375, 3.2.1.10, 4.0.0.300, 4.1.0.160, 4.2.0.92, 4.3.0.10
WSO2Open Banking AM>=2.0.0 <2.0.0.3492.0.0.349

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in WSO2, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-5848 severity on Zeptric[![CVE-2024-5848](https://zeptric.io/badge/cve/CVE-2024-5848.svg)](https://zeptric.io/cve/CVE-2024-5848)