{"id":"CVE-2024-5848","state":"PUBLISHED","title":"Reflected Cross-Site Scripting (XSS) in Multiple WSO2 Products Due to Improper Input Validation","description":"A reflected cross-site scripting (XSS) vulnerability exists in multiple WSO2 products due to improper input validation. User-supplied data is directly included in server responses from vulnerable service endpoints without proper sanitization or encoding, allowing an attacker to inject malicious JavaScript.\n\nSuccessful exploitation could lead to UI manipulation, redirection to malicious websites, or data exfiltration from the browser. While session-related sensitive cookies are protected with the httpOnly flag, mitigating session hijacking risks, the impact may vary depending on gateway-level service restrictions.","publishedAt":"2025-02-27T07:08:07.346Z","updatedAt":"2025-02-27T14:40:20.053Z","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 Open Banking AM"],"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.285","versionType":"custom"},{"version":"3.2.0","status":"affected","lessThan":"3.2.0.375","versionType":"custom"},{"version":"3.2.1","status":"affected","lessThan":"3.2.1.10","versionType":"custom"},{"version":"4.0.0","status":"affected","lessThan":"4.0.0.300","versionType":"custom"},{"version":"4.1.0","status":"affected","lessThan":"4.1.0.160","versionType":"custom"},{"version":"4.2.0","status":"affected","lessThan":"4.2.0.92","versionType":"custom"},{"version":"4.3.0","status":"affected","lessThan":"4.3.0.10","versionType":"custom"}]},{"vendor":"WSO2","product":"WSO2 Open Banking AM","defaultStatus":"unaffected","versions":[{"version":"0","status":"unknown","lessThan":"2.0.0","versionType":"custom"},{"version":"2.0.0","status":"affected","lessThan":"2.0.0.349","versionType":"custom"}]}],"references":["https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2024/WSO2-2024-3450/"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:08:12.933Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/5xxx/CVE-2024-5848.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-5848","state":"PUBLISHED","datePublished":"2025-02-27T07:08:07.346Z","dateUpdated":"2025-02-27T14:40:20.053Z","assignerShortName":"WSO2","assignerOrgId":"ed10eef1-636d-4fbe-9993-6890dfa878f8","dateReserved":"2024-06-11T07:22:24.988Z"},"containers":{"cna":{"title":"Reflected Cross-Site Scripting (XSS) in Multiple WSO2 Products Due to Improper Input Validation","descriptions":[{"lang":"en","value":"A reflected cross-site scripting (XSS) vulnerability exists in multiple WSO2 products due to improper input validation. User-supplied data is directly included in server responses from vulnerable service endpoints without proper sanitization or encoding, allowing an attacker to inject malicious JavaScript.\n\nSuccessful exploitation could lead to UI manipulation, redirection to malicious websites, or data exfiltration from the browser. While session-related sensitive cookies are protected with the httpOnly flag, mitigating session hijacking risks, the impact may vary depending on gateway-level service restrictions."}],"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.285","versionType":"custom"},{"version":"3.2.0","status":"affected","lessThan":"3.2.0.375","versionType":"custom"},{"version":"3.2.1","status":"affected","lessThan":"3.2.1.10","versionType":"custom"},{"version":"4.0.0","status":"affected","lessThan":"4.0.0.300","versionType":"custom"},{"version":"4.1.0","status":"affected","lessThan":"4.1.0.160","versionType":"custom"},{"version":"4.2.0","status":"affected","lessThan":"4.2.0.92","versionType":"custom"},{"version":"4.3.0","status":"affected","lessThan":"4.3.0.10","versionType":"custom"}]},{"vendor":"WSO2","product":"WSO2 Open Banking AM","defaultStatus":"unaffected","versions":[{"version":"0","status":"unknown","lessThan":"2.0.0","versionType":"custom"},{"version":"2.0.0","status":"affected","lessThan":"2.0.0.349","versionType":"custom"}]}],"references":[{"url":"https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2024/WSO2-2024-3450/","tags":["vendor-advisory"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"WSO2","orgId":"ed10eef1-636d-4fbe-9993-6890dfa878f8","dateUpdated":"2025-02-27T07:08:07.346Z"},"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","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/2024/WSO2-2024-3450/#solution\"><span style=\"background-color: transparent;\">https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2024/WSO2-2024-3450/#solution</span></a> <br>"}],"value":"Follow the instructions given on  https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2024/WSO2-2024-3450/#solution https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2024/WSO2-2024-3450/#solution"}],"source":{"advisory":"WSO2-2024-3450","discovery":"INTERNAL"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-02-27T14:40:09.476157Z","id":"CVE-2024-5848","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":"2025-02-27T14:40:20.053Z"}}]}}}