Skip to content

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

MediumCVSS 6.1 EPSS 0.23%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
WSO2 API 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 +3 more 3.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 Fixed
WSO2 Open Banking AM >= 2.0.0, < 2.0.0.349 2.0.0.349 Fixed
WSO2 api manager = 3.1.0; = 3.2.0; = 3.2.1; = 4.0.0 +3 more No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
WSO2 API Manager < 3.1.0 3.1.0
WSO2 API Manager >= 3.1.0, < 3.1.0.285 3.1.0.285
WSO2 API Manager >= 3.2.0, < 3.2.0.375 3.2.0.375
WSO2 API Manager >= 3.2.1, < 3.2.1.10 3.2.1.10
WSO2 API Manager >= 4.0.0, < 4.0.0.300 4.0.0.300
WSO2 API Manager >= 4.1.0, < 4.1.0.160 4.1.0.160
WSO2 API Manager >= 4.2.0, < 4.2.0.92 4.2.0.92
WSO2 API Manager >= 4.3.0, < 4.3.0.10 4.3.0.10
WSO2 Open Banking AM < 2.0.0 2.0.0
WSO2 Open Banking AM >= 2.0.0, < 2.0.0.349 2.0.0.349
WSO2 api manager = 3.1.0 No fix listed
WSO2 api manager = 3.2.0 No fix listed
WSO2 api manager = 3.2.1 No fix listed
WSO2 api manager = 4.0.0 No fix listed
WSO2 api manager = 4.1.0 No fix listed
WSO2 api manager = 4.2.0 No fix listed
WSO2 api manager = 4.3.0 No fix listed

References