Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-5139

MEDIUM 6.1EPSS 24%

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

Mitigation

  • Upgrade WSO2 Enterprise Integrator to 6.6.0.204 or later.
  • Upgrade WSO2 Identity Server to 7.0.0.64 or later.
  • Upgrade WSO2 API Manager to 4.3.0.6 or later.
  • Upgrade WSO2 Open Banking AM to 2.0.0.336 or later.
  • Upgrade WSO2 Identity Server as Key Manager to 5.10.0.306 or later.
  • Upgrade WSO2 Open Banking IAM to 2.0.0.357 or later.
  • Upgrade WSO2 Carbon User Management UI to 7.0.78.43 or later.

Who should check

  • Anyone running WSO2 Enterprise Integrator >= 6.6.0, < 6.6.0.204
  • Anyone running WSO2 Identity Server >= 5.10.0, < 5.10.0.310; >= 6.0.0, < 6.0.0.212; >= 6.1.0, < 6.1.0.195; >= 7.0.0, < 7.0.0.64
  • Anyone running WSO2 API Manager >= 3.1.0, < 3.1.0.286; >= 3.2.0, < 3.2.0.376; >= 3.2.1, < 3.2.1.10; >= 4.0.0, < 4.0.0.299; >= 4.1.0, < 4.1.0.159; >= 4.2.0, < 4.2.0.91; >= 4.3.0, < 4.3.0.6
  • Anyone running WSO2 Open Banking AM >= 2.0.0, < 2.0.0.336
  • Anyone running WSO2 Identity Server as Key Manager >= 5.10.0, < 5.10.0.306
  • Anyone running WSO2 Open Banking IAM >= 2.0.0, < 2.0.0.357
  • Anyone running WSO2 Carbon User Management UI >= 5.14.127, < 5.14.127.6; >= 5.17.5, < 5.17.5.273; >= 5.17.118, < 5.17.118.3; >= 5.18.187, < 5.18.187.260; >= 5.18.248, < 5.18.248.12; >= 5.23.8, < 5.23.8.191; >= 5.24.8, < 5.24.8.3; >= 5.25.92, < 5.25.92.99; >= 5.25.705, < 5.25.705.3; >= 7.0.78, < 7.0.78.43

Vulnerability facts

Affected
WSO2 Enterprise Integrator >= 6.6.0, < 6.6.0.204; WSO2 Identity Server >= 5.10.0, < 5.10.0.310; >= 6.0.0, < 6.0.0.212; >= 6.1.0, < 6.1.0.195; >= 7.0.0, < 7.0.0.64; WSO2 API Manager >= 3.1.0, < 3.1.0.286; >= 3.2.0, < 3.2.0.376; >= 3.2.1, < 3.2.1.10; >= 4.0.0, < 4.0.0.299; >= 4.1.0, < 4.1.0.159; >= 4.2.0, < 4.2.0.91; >= 4.3.0, < 4.3.0.6; WSO2 Open Banking AM >= 2.0.0, < 2.0.0.336; WSO2 Identity Server as Key Manager >= 5.10.0, < 5.10.0.306; WSO2 Open Banking IAM >= 2.0.0, < 2.0.0.357; WSO2 Carbon User Management UI >= 5.14.127, < 5.14.127.6; >= 5.17.5, < 5.17.5.273; >= 5.17.118, < 5.17.118.3; >= 5.18.187, < 5.18.187.260; >= 5.18.248, < 5.18.248.12; >= 5.23.8, < 5.23.8.191; >= 5.24.8, < 5.24.8.3; >= 5.25.92, < 5.25.92.99; >= 5.25.705, < 5.25.705.3; >= 7.0.78, < 7.0.78.43
Fixed in
WSO2 Enterprise Integrator 6.6.0.204, WSO2 Identity Server 5.10.0.310, WSO2 Identity Server 6.0.0.212, WSO2 Identity Server 6.1.0.195, WSO2 Identity Server 7.0.0.64, WSO2 API Manager 3.1.0.286, WSO2 API Manager 3.2.0.376, WSO2 API Manager 3.2.1.10, WSO2 API Manager 4.0.0.299, WSO2 API Manager 4.1.0.159, WSO2 API Manager 4.2.0.91, WSO2 API Manager 4.3.0.6, WSO2 Open Banking AM 2.0.0.336, WSO2 Identity Server as Key Manager 5.10.0.306, WSO2 Open Banking IAM 2.0.0.357, WSO2 Carbon User Management UI 5.14.127.6, WSO2 Carbon User Management UI 5.17.5.273, WSO2 Carbon User Management UI 5.17.118.3, WSO2 Carbon User Management UI 5.18.187.260, WSO2 Carbon User Management UI 5.18.248.12, WSO2 Carbon User Management UI 5.23.8.191, WSO2 Carbon User Management UI 5.24.8.3, WSO2 Carbon User Management UI 5.25.92.99, WSO2 Carbon User Management UI 5.25.705.3, WSO2 Carbon User Management UI 7.0.78.43
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
6.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: Required
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: Low
  • Integrity impact: Low
  • Availability impact: None
EPSS
0.38% chance of exploitation in 30 days (percentile 24, 2026-11-26)
CWE
CWE-79
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
WSO2 Enterprise Integrator>= 6.6.0, < 6.6.0.204—cvelist
WSO2 Identity Server>= 5.10.0, < 5.10.0.310; >= 6.0.0, < 6.0.0.212; >= 6.1.0, < 6.1.0.195; >= 7.0.0, < 7.0.0.64—cvelist
WSO2 API Manager>= 3.1.0, < 3.1.0.286; >= 3.2.0, < 3.2.0.376; >= 3.2.1, < 3.2.1.10; >= 4.0.0, < 4.0.0.299; >= 4.1.0, < 4.1.0.159; >= 4.2.0, < 4.2.0.91; >= 4.3.0, < 4.3.0.6—cvelist
WSO2 Open Banking AM>= 2.0.0, < 2.0.0.336—cvelist
WSO2 Identity Server as Key Manager>= 5.10.0, < 5.10.0.306—cvelist
WSO2 Open Banking IAM>= 2.0.0, < 2.0.0.357—cvelist
WSO2 Carbon User Management UI>= 5.14.127, < 5.14.127.6; >= 5.17.5, < 5.17.5.273; >= 5.17.118, < 5.17.118.3; >= 5.18.187, < 5.18.187.260; >= 5.18.248, < 5.18.248.12; >= 5.23.8, < 5.23.8.191; >= 5.24.8, < 5.24.8.3; >= 5.25.92, < 5.25.92.99; >= 5.25.705, < 5.25.705.3; >= 7.0.78, < 7.0.78.43—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-5139. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-5139.md
Affected: WSO2 Enterprise Integrator >= 6.6.0, < 6.6.0.204; WSO2 Identity Server >= 5.10.0, < 5.10.0.310; >= 6.0.0, < 6.0.0.212; >= 6.1.0, < 6.1.0.195; >= 7.0.0, < 7.0.0.64; WSO2 API Manager >= 3.1.0, < 3.1.0.286; >= 3.2.0, < 3.2.0.376; >= 3.2.1, < 3.2.1.10; >= 4.0.0, < 4.0.0.299; >= 4.1.0, < 4.1.0.159; >= 4…
Fixed in: WSO2 Enterprise Integrator 6.6.0.204, WSO2 Identity Server 5.10.0.310, WSO2 Identity Server 6.0.0.212, WSO2 Identity Server 6.1.0.195, WSO2 Identity Server 7.0.0.64, WSO2 API Manager 3.1.0.286, WSO2 API Manager 3.2.0.376, WSO2 API Manager 3.2.1.10, WSO2 API Manager 4.0.0.299, WSO2 API Manager 4.1.0…

Steps:
1. Search this machine and project for WSO2 Enterprise Integrator, WSO2 Identity Server, WSO2 API Manager, WSO2 Open Banking AM, WSO2 Identity Server as Key Manager, WSO2 Open Banking IAM: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-5139 being exploited?

There is no confirmed exploitation: CVE-2024-5139 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.38% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-5139?

Medium: CVSS 6.1 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2024-5139?

WSO2 Enterprise Integrator >= 6.6.0, < 6.6.0.204; WSO2 Identity Server >= 5.10.0, < 5.10.0.310; >= 6.0.0, < 6.0.0.212; >= 6.1.0, < 6.1.0.195; >= 7.0.0, < 7.0.0.64; WSO2 API Manager >= 3.1.0, < 3.1.0.286; >= 3.2.0, < 3.2.0.376; >= 3.2.1, < 3.2.1.10; >= 4.0.0, < 4.0.0.299; >= 4.1.0, < 4.1.0.159; >= 4.2.0, < 4.2.0.91; >= 4.3.0, < 4.3.0.6; WSO2 Open Banking AM >= 2.0.0, < 2.0.0.336; WSO2 Identity Server as Key Manager >= 5.10.0, < 5.10.0.306; WSO2 Open Banking IAM >= 2.0.0, < 2.0.0.357; WSO2 Carbon User Management UI >= 5.14.127, < 5.14.127.6; >= 5.17.5, < 5.17.5.273; >= 5.17.118, < 5.17.118.3; >= 5.18.187, < 5.18.187.260; >= 5.18.248, < 5.18.248.12; >= 5.23.8, < 5.23.8.191; >= 5.24.8, < 5.24.8.3; >= 5.25.92, < 5.25.92.99; >= 5.25.705, < 5.25.705.3; >= 7.0.78, < 7.0.78.43.

Is there a fix for CVE-2024-5139?

Yes. Fixed in WSO2 Enterprise Integrator 6.6.0.204, WSO2 Identity Server 5.10.0.310, WSO2 Identity Server 6.0.0.212, WSO2 Identity Server 6.1.0.195, WSO2 Identity Server 7.0.0.64, WSO2 API Manager 3.1.0.286, WSO2 API Manager 3.2.0.376, WSO2 API Manager 3.2.1.10, WSO2 API Manager 4.0.0.299, WSO2 API Manager 4.1.0.159, WSO2 API Manager 4.2.0.91, WSO2 API Manager 4.3.0.6, WSO2 Open Banking AM 2.0.0.336, WSO2 Identity Server as Key Manager 5.10.0.306, WSO2 Open Banking IAM 2.0.0.357, WSO2 Carbon User Management UI 5.14.127.6, WSO2 Carbon User Management UI 5.17.5.273, WSO2 Carbon User Management UI 5.17.118.3, WSO2 Carbon User Management UI 5.18.187.260, WSO2 Carbon User Management UI 5.18.248.12, WSO2 Carbon User Management UI 5.23.8.191, WSO2 Carbon User Management UI 5.24.8.3, WSO2 Carbon User Management UI 5.25.92.99, WSO2 Carbon User Management UI 5.25.705.3, WSO2 Carbon User Management UI 7.0.78.43. Upgrade WSO2 Enterprise Integrator to 6.6.0.204 or later. Upgrade WSO2 Identity Server to 7.0.0.64 or later. Upgrade WSO2 API Manager to 4.3.0.6 or later. Upgrade WSO2 Open Banking AM to 2.0.0.336 or later. Upgrade WSO2 Identity Server as Key Manager to 5.10.0.306 or later. Upgrade WSO2 Open Banking IAM to 2.0.0.357 or later. Upgrade WSO2 Carbon User Management UI to 7.0.78.43 or later.

How do I check if I'm affected by CVE-2024-5139?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors