Description
The authentication endpoint fails to encode user-supplied input before rendering it in the web page, allowing for script injection. An attacker can leverage this by injecting malicious scripts into the authentication endpoint. This can result in the user's browser being redirected to a malicious website, manipulation of the web page's user interface, or the retrieval of information from the browser. However, session hijacking is not possible due to the httpOnly flag protecting session-related cookies.
Problem types
CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
Any version before 3.1.0
3.1.0 (custom) before 3.1.0.351
3.2.0 (custom) before 3.2.0.455
3.2.1 (custom) before 3.2.1.74
4.0.0 (custom) before 4.0.0.375
4.1.0 (custom) before 4.1.0.238
Any version before 5.10.0
5.10.0 (custom) before 5.10.0.360
5.11.0 (custom) before 5.11.0.405
References
security.docs.wso2.com/...ty-advisories/2026/WSO2-2025-4251/