CVE-2024-5139 PUBLISHED

Cross-Site Scripting via Authentication Endpoint in Multiple WSO2 Products Enables UI Manipulation and Redirection

Assigner: WSO2
Reserved: 20.05.2024 Published: 21.10.2026 Updated: 21.10.2026

The Authentication Endpoint accepts user-supplied input without sufficient encoding, allowing for the injection of malicious JavaScript payloads. This vulnerability can be triggered by submitting crafted input to the Authentication Endpoint.

Successful exploitation allows an attacker to redirect the user's browser to a malicious website, modify the web page's user interface, or extract sensitive information from the browser. However, due to the httpOnly flag on session-related cookies, session hijacking is not possible.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS Score: 6.1

Product Status

Vendor WSO2
Product WSO2 Enterprise Integrator
Versions Default: unaffected
  • unknown from 0 to 6.6.0 (excl.)
  • affected from 6.6.0 to 6.6.0.204 (excl.)
Vendor WSO2
Product WSO2 Identity Server
Versions Default: unaffected
  • unknown from 0 to 5.10.0 (excl.)
  • affected from 5.10.0 to 5.10.0.310 (excl.)
  • affected from 6.0.0 to 6.0.0.212 (excl.)
  • affected from 6.1.0 to 6.1.0.195 (excl.)
  • affected from 7.0.0 to 7.0.0.64 (excl.)
Vendor WSO2
Product WSO2 API Manager
Versions Default: unaffected
  • unknown from 0 to 3.1.0 (excl.)
  • affected from 3.1.0 to 3.1.0.286 (excl.)
  • affected from 3.2.0 to 3.2.0.376 (excl.)
  • affected from 3.2.1 to 3.2.1.10 (excl.)
  • affected from 4.0.0 to 4.0.0.299 (excl.)
  • affected from 4.1.0 to 4.1.0.159 (excl.)
  • affected from 4.2.0 to 4.2.0.91 (excl.)
  • affected from 4.3.0 to 4.3.0.6 (excl.)
Vendor WSO2
Product WSO2 Open Banking AM
Versions Default: unaffected
  • unknown from 0 to 2.0.0 (excl.)
  • affected from 2.0.0 to 2.0.0.336 (excl.)
Vendor WSO2
Product WSO2 Identity Server as Key Manager
Versions Default: unaffected
  • unknown from 0 to 5.10.0 (excl.)
  • affected from 5.10.0 to 5.10.0.306 (excl.)
Vendor WSO2
Product WSO2 Open Banking IAM
Versions Default: unaffected
  • unknown from 0 to 2.0.0 (excl.)
  • affected from 2.0.0 to 2.0.0.357 (excl.)
Vendor WSO2
Product WSO2 Carbon User Management UI
Versions Default: unknown
  • affected from 5.14.127 to 5.14.127.6 (excl.)
  • affected from 5.17.5 to 5.17.5.273 (excl.)
  • affected from 5.17.118 to 5.17.118.3 (excl.)
  • affected from 5.18.187 to 5.18.187.260 (excl.)
  • affected from 5.18.248 to 5.18.248.12 (excl.)
  • affected from 5.23.8 to 5.23.8.191 (excl.)
  • affected from 5.24.8 to 5.24.8.3 (excl.)
  • affected from 5.25.92 to 5.25.92.99 (excl.)
  • affected from 5.25.705 to 5.25.705.3 (excl.)
  • affected from 7.0.78 to 7.0.78.43 (excl.)

Solutions

Follow the instructions given on https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2024-3382/#solution

References

Problem Types

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

Impacts

  • CAPEC-21 CAPEC-21: Cross-Site Scripting