{"id":"CVE-2025-6024","state":"PUBLISHED","title":"Cross-Site Scripting via Authentication Endpoint in Multiple WSO2 Products Allows Redirection to Malicious Websites","description":"The authentication endpoint fails to encode user-supplied input before rendering it in the web page, allowing for script injection.\nAn 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.","publishedAt":"2026-04-16T09:48:45.244Z","updatedAt":"2026-04-16T12:30:22.824Z","severity":{"score":6.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"WSO2"},"assigner":"WSO2","products":["WSO2 WSO2 API Manager","WSO2 WSO2 Identity Server"],"affected":[{"vendor":"WSO2","product":"WSO2 API Manager","defaultStatus":"unaffected","versions":[{"version":"0","status":"unknown","lessThan":"3.1.0","versionType":"custom"},{"version":"3.1.0","status":"affected","lessThan":"3.1.0.351","versionType":"custom"},{"version":"3.2.0","status":"affected","lessThan":"3.2.0.455","versionType":"custom"},{"version":"3.2.1","status":"affected","lessThan":"3.2.1.74","versionType":"custom"},{"version":"4.0.0","status":"affected","lessThan":"4.0.0.375","versionType":"custom"},{"version":"4.1.0","status":"affected","lessThan":"4.1.0.238","versionType":"custom"}]},{"vendor":"WSO2","product":"WSO2 Identity Server","defaultStatus":"unaffected","versions":[{"version":"0","status":"unknown","lessThan":"5.10.0","versionType":"custom"},{"version":"5.10.0","status":"affected","lessThan":"5.10.0.360","versionType":"custom"},{"version":"5.11.0","status":"affected","lessThan":"5.11.0.405","versionType":"custom"}]}],"references":["https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4251/"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:10:04.440Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/6xxx/CVE-2025-6024.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-6024","state":"PUBLISHED","datePublished":"2026-04-16T09:48:45.244Z","dateUpdated":"2026-04-16T12:30:22.824Z","assignerShortName":"WSO2","assignerOrgId":"ed10eef1-636d-4fbe-9993-6890dfa878f8","dateReserved":"2025-06-12T09:23:00.709Z"},"containers":{"cna":{"title":"Cross-Site Scripting via Authentication Endpoint in Multiple WSO2 Products Allows Redirection to Malicious Websites","descriptions":[{"lang":"en","value":"The authentication endpoint fails to encode user-supplied input before rendering it in the web page, allowing for script injection.\nAn 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."}],"affected":[{"vendor":"WSO2","product":"WSO2 API Manager","defaultStatus":"unaffected","versions":[{"version":"0","status":"unknown","lessThan":"3.1.0","versionType":"custom"},{"version":"3.1.0","status":"affected","lessThan":"3.1.0.351","versionType":"custom"},{"version":"3.2.0","status":"affected","lessThan":"3.2.0.455","versionType":"custom"},{"version":"3.2.1","status":"affected","lessThan":"3.2.1.74","versionType":"custom"},{"version":"4.0.0","status":"affected","lessThan":"4.0.0.375","versionType":"custom"},{"version":"4.1.0","status":"affected","lessThan":"4.1.0.238","versionType":"custom"}]},{"vendor":"WSO2","product":"WSO2 Identity Server","defaultStatus":"unaffected","versions":[{"version":"0","status":"unknown","lessThan":"5.10.0","versionType":"custom"},{"version":"5.10.0","status":"affected","lessThan":"5.10.0.360","versionType":"custom"},{"version":"5.11.0","status":"affected","lessThan":"5.11.0.405","versionType":"custom"}]}],"references":[{"url":"https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4251/","tags":["vendor-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseSeverity":"MEDIUM","baseScore":6.1,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"WSO2","orgId":"ed10eef1-636d-4fbe-9993-6890dfa878f8","dateUpdated":"2026-04-16T09:48:45.244Z"},"impacts":[{"capecId":"CAPEC-104","descriptions":[{"lang":"en","value":"CAPEC-104 CAPEC-104: Cross-Site Scripting"}]}],"solutions":[{"lang":"en","value":"Follow the instructions given on https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4251/#solution","supportingMedia":[{"type":"text/html","base64":false,"value":"<span style=\"background-color: transparent;\">Follow the instructions given on </span><a target=\"_blank\" rel=\"nofollow\" href=\"https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4251/#solution\"><span style=\"background-color: transparent;\">https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4251/#solution</span></a> <br>"}]}],"source":{"advisory":"WSO2-2025-4251","discovery":"INTERNAL"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-16T12:19:54.071212Z","id":"CVE-2025-6024","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-16T12:30:22.824Z"}}]}}}