CVE-2024-5139
Awaiting Analysis Awaiting Analysis - Queue

Reflected XSS in Authentication Endpoint

Vulnerability report for CVE-2024-5139, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-21

Last updated on: 2026-10-30

Assigner: WSO2 LLC

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-21
Last Modified
2026-10-30
Generated
2026-11-10
AI Q&A
2026-10-22
EPSS Evaluated
2026-11-09
NVD
EUVD

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a Cross-Site Scripting (XSS) vulnerability where the Authentication Endpoint fails to properly encode user input. Attackers can inject malicious JavaScript payloads through crafted input, which may execute in a victim's browser when they access the affected page.

Detection Guidance

To detect this XSS vulnerability in WSO2 products, inspect HTTP responses for unsanitized user input in the roleName parameter. Check for JavaScript execution in hidden input fields within JSP files. Use browser developer tools to monitor for reflected or stored XSS in authentication endpoints.

Impact Analysis

Exploitation could allow attackers to redirect users to malicious sites, modify webpage content, or steal sensitive browser data. Session cookies are protected by the httpOnly flag, preventing direct session hijacking.

Compliance Impact

This vulnerability could lead to unauthorized data exposure or modification, which may violate GDPR's data protection principles or HIPAA's security requirements for safeguarding sensitive information. Attackers could extract sensitive data from browsers, potentially exposing personal or health information.

Mitigation Strategies
  • Apply the security fix from the WSO2 Carbon Identity Framework repository by updating to version 5.25.x or later to ensure proper encoding of user-supplied input in the Authentication Endpoint.
  • Review and sanitize all user inputs in authentication-related fields, particularly the roleName parameter, to prevent JavaScript injection.
  • Monitor network traffic for unusual requests targeting the Authentication Endpoint that may indicate attempted exploitation.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2024-5139. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...