# CVE-2024-8008: Reflected Cross-Site Scripting (XSS) in Multiple WSO2 Products via JDBC User Store Connection Validation

- Severity: Medium 5.2 (CVSS:3.1, scored by WSO2) `CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Published: 2025-06-02T16:48:12.479Z
- Modified: 2026-10-16T12:16:31.053Z
- Also known as: GHSA-xpxp-r8hf-wgf6
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: WSO2

## Description

A reflected cross-site scripting (XSS) vulnerability exists in multiple WSO2 products due to insufficient output encoding in error messages generated by the JDBC user store connection validation request. A malicious actor can inject a specially crafted payload into the request, causing the browser to execute arbitrary JavaScript in the context of the vulnerable page.

This vulnerability may allow UI manipulation, redirection to malicious websites, or data exfiltration from the browser. However, since all session-related sensitive cookies are protected with the httpOnly flag, session hijacking is not possible.

(As written by CVE List.)

## Affected

- WSO2 WSO2 Enterprise Integrator: before 6.6.0; from 6.6.0 before 6.6.0.211
- WSO2 WSO2 API Manager: before 3.1.0; from 3.1.0 before 3.1.0.305; from 3.2.0 before 3.2.0.396; from 3.2.1 before 3.2.1.28; from 4.0.0 before 4.0.0.313; from 4.1.0 before 4.1.0.182; from 4.2.0 before 4.2.0.121; from 4.3.0 before 4.3.0.32; from 4.4.0 before 4.4.0.1; from 4.5.0 before 4.5.0.16
- WSO2 WSO2 Identity Server as Key Manager: before 5.10.0; from 5.10.0 before 5.10.0.321
- WSO2 WSO2 Identity Server: before 5.10.0; from 5.10.0 before 5.10.0.328; from 5.11.0 before 5.11.0.374; from 6.0.0 before 6.0.0.216; from 6.1.0 before 6.1.0.201; from 7.0.0 before 7.0.0.69
- WSO2 WSO2 Open Banking IAM: before 2.0.0; from 2.0.0 before 2.0.0.374
- WSO2 WSO2 Open Banking AM: before 2.0.0; from 2.0.0 before 2.0.0.354
- WSO2 WSO2 Traffic Manager: from 4.5.0 before 4.5.0.16
- WSO2 WSO2 API Control Plane: from 4.5.0 before 4.5.0.17
- WSO2 WSO2 Universal Gateway: from 4.5.0 before 4.5.0.16
- org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.store.configuration.ui: from 5.14.127 before 5.14.127.9; from 5.17.5 before 5.17.5.289; from 5.17.118 before 5.17.118.10; from 5.18.187 before 5.18.187.276; from 5.18.248 before 5.18.248.22; from 5.23.8 before 5.23.8.193; from 5.24.8 before 5.24.8.11; from 5.25.92 before 5.25.92.104; from 5.25.705 before 5.25.705.10; from 5.25.713 before 5.25.713.1; from 5.25.724 before 5.25.724.1; from 7.0.78 before 7.0.78.46 (not affected: from 5.25.725 up to 5.25.*; from 5.27.0 up to 5.27.*; from 7.5.12 up to *)
- org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.store.configuration.ui (Maven): before 7.5.12
- wso2 api_manager: 3.1.0; 3.2.0; 3.2.1; 4.0.0; 4.1.0; 4.2.0; 4.3.0
- wso2 enterprise_integrator: 6.6.0
- wso2 identity_server: 5.10.0; 5.11.0; 6.0.0; 6.1.0; 7.0.0
- wso2 identity_server_as_key_manager: 5.10.0
- wso2 open_banking_am: 2.0.0
- wso2 open_banking_iam: 2.0.0

## Every score

- WSO2: CVSS:3.1 5.2 Medium `CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.2 Medium `CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2024-3178/> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-8008> (advisory)
- <https://github.com/wso2/carbon-identity-framework/pull/5927> (web)
- <https://github.com/wso2/carbon-identity-framework> (package)
- <https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2024-3178> (web)

## Sources

- CVE List: [CVE-2024-8008](https://www.cve.org/CVERecord?id=CVE-2024-8008), CVE Terms of Use, modified 2026-10-16
- GitHub Advisory Database: [GHSA-xpxp-r8hf-wgf6](https://github.com/advisories/GHSA-xpxp-r8hf-wgf6), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-8008](https://nvd.nist.gov/vuln/detail/CVE-2024-8008), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2024-8008 · Whole record: https://cve.day/CVE-2024-8008.json · Rebuilt by cve.day 2026-11-25T22:58:52.717Z
