Medium severity · published Feb 27, 2025
CVE-2024-5848
Reflected Cross-Site Scripting (XSS) in Multiple WSO2 Products Due to Improper Input Validation
6.1
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 14% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
WA
WSO2 API Manager · WSO2
3.1.0 before 3.1.0.285; 3.2.0 before 3.2.0.375; 3.2.1 before 3.2.1.10; 4.0.0 before 4.0.0.300; 4.1.0 before 4.1.0.160; 4.2.0 before 4.2.0.92; +1 more · source: vendor
WO
WSO2 Open Banking AM · WSO2
2.0.0 before 2.0.0.349 · source: vendor
AM
Api Manager · Wso2
3.1.0; 3.2.0; 3.2.1; 4.0.0; 4.1.0; 4.2.0; +1 more · source: NVD
Affected product
WA
WSO2 API Manager
WSO2
More from WSO2 API Manager
10.0
CVE-2026-5430
Authentication Bypass via JWT Algorithm Mismatch in Multiple WSO2 Products Allows Account Takeover
10.0
CVE-2026-2053
Unauthenticated Server-Side Request Forgery via WS-Addressing in WSO2 API Manager
9.8
CVE-2026-1728
Privilege Escalation via System REST APIs in Multiple WSO2 Products Permits Admin Account Takeover
9.8
CVE-2025-9312
Improper Certificate-Based Authentication Enforcement in Multiple WSO2 Products
9.8
CVE-2025-9152
Improper Privilege Management in Multiple WSO2 API Manager via keymanager-operations DCR Endpoint