CVE-2024-5848

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

State
Published
Severity
6.1 Medium
Published
Feb 27, 2025
Updated
Feb 27, 2025
Reserved
Jun 11, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NWSO2

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')

Affected Products

ProductVersions
WSO2 API ManagerWSO2
  • before 3.1.0Unknown
  • 3.1.0 to before 3.1.0.285Affected
  • 3.2.0 to before 3.2.0.375Affected
  • 3.2.1 to before 3.2.1.10Affected
  • 4.0.0 to before 4.0.0.300Affected
  • 4.1.0 to before 4.1.0.160Affected
  • 4.2.0 to before 4.2.0.92Affected
  • 4.3.0 to before 4.3.0.10Affected
WSO2 Open Banking AMWSO2
  • before 2.0.0Unknown
  • 2.0.0 to before 2.0.0.349Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.