CVE-2024-5139

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

  • Medium 6.1

Description

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.

Key facts

Published
21 Oct 2026
Last changed
30 Oct 2026
Assigned by
WSO2
EPSS
0.227% likely to be exploited in the next 30 days, higher than 13.539% of CVEs (scores for 17 Nov 2026)
SSVC (CISA)
Exploitation: none; Automatable: no; Technical impact: partial

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 6.1CVSS 3.1, Mediumfrom the CNA (WSO2)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What to do

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

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

CAPEC-21 CAPEC-21: Cross-Site Scripting (CNA impact statement)

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

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

Timeline

  1. 21 Oct 2026 Published

Weakness

Practice this bug class

HackZoneLabs has a hands-on lab on XSS (stored, reflected, DOM) (CWE-79).

References