---
id: CVE-2024-8008
title: >-
  Reflected Cross-Site Scripting (XSS) in Multiple WSO2 Products via JDBC User
  Store Connection Validation
summary: >-
  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 sp…
severity: medium
cvss: 5.2
cvssVector: 'CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'
cvssSource: cna
cwe:
  - CWE-79
vendor: WSO2
product: WSO2 Enterprise Integrator
affected:
  - enterprise_integrator >= 6.6.0 < 6.6.0.211
  - api_manager >= 3.1.0 < 3.1.0.305
  - api_manager >= 3.2.0 < 3.2.0.396
  - api_manager >= 3.2.1 < 3.2.1.28
  - api_manager >= 4.0.0 < 4.0.0.313
  - api_manager >= 4.1.0 < 4.1.0.182
  - api_manager >= 4.2.0 < 4.2.0.121
  - api_manager >= 4.3.0 < 4.3.0.32
  - api_manager >= 4.4.0 < 4.4.0.1
  - api_manager >= 4.5.0 < 4.5.0.16
  - identity_server_as_key_manager >= 5.10.0 < 5.10.0.321
  - identity_server >= 5.10.0 < 5.10.0.328
  - identity_server >= 5.11.0 < 5.11.0.374
  - identity_server >= 6.0.0 < 6.0.0.216
  - identity_server >= 6.1.0 < 6.1.0.201
  - identity_server >= 7.0.0 < 7.0.0.69
  - open_banking_iam >= 2.0.0 < 2.0.0.374
  - open_banking_am >= 2.0.0 < 2.0.0.354
  - traffic_manager >= 4.5.0 < 4.5.0.16
  - api_control_plane >= 4.5.0 < 4.5.0.17
  - universal_gateway >= 4.5.0 < 4.5.0.16
  - >-
    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.store.configuration.ui
    >= 5.14.127 < 5.14.127.9
  - >-
    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.store.configuration.ui
    >= 5.17.5 < 5.17.5.289
  - >-
    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.store.configuration.ui
    >= 5.17.118 < 5.17.118.10
  - >-
    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.store.configuration.ui
    >= 5.18.187 < 5.18.187.276
  - >-
    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.store.configuration.ui
    >= 5.18.248 < 5.18.248.22
  - >-
    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.store.configuration.ui
    >= 5.23.8 < 5.23.8.193
  - >-
    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.store.configuration.ui
    >= 5.24.8 < 5.24.8.11
  - >-
    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.store.configuration.ui
    >= 5.25.92 < 5.25.92.104
  - >-
    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.store.configuration.ui
    >= 5.25.705 < 5.25.705.10
  - >-
    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.store.configuration.ui
    >= 5.25.713 < 5.25.713.1
  - >-
    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.store.configuration.ui
    >= 5.25.724 < 5.25.724.1
  - >-
    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.store.configuration.ui
    >= 7.0.78 < 7.0.78.46
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2025-06-02T17:05:11.526830Z'
published: '2025-06-02'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T11:39:49.442Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2024-8008'
references:
  - url: >-
      https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2024-3178/
tags:
  - cve.org
epss: 0.0053
epssPercentile: 0.4361
ingestedAt: '2026-10-16T12:05:46.481Z'
---

## Overview

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.

## Affected

- `enterprise_integrator >= 6.6.0 < 6.6.0.211`
- `api_manager >= 3.1.0 < 3.1.0.305`
- `api_manager >= 3.2.0 < 3.2.0.396`
- `api_manager >= 3.2.1 < 3.2.1.28`
- `api_manager >= 4.0.0 < 4.0.0.313`
- `api_manager >= 4.1.0 < 4.1.0.182`
- `api_manager >= 4.2.0 < 4.2.0.121`
- `api_manager >= 4.3.0 < 4.3.0.32`
- `api_manager >= 4.4.0 < 4.4.0.1`
- `api_manager >= 4.5.0 < 4.5.0.16`
- `identity_server_as_key_manager >= 5.10.0 < 5.10.0.321`
- `identity_server >= 5.10.0 < 5.10.0.328`
- `identity_server >= 5.11.0 < 5.11.0.374`
- `identity_server >= 6.0.0 < 6.0.0.216`
- `identity_server >= 6.1.0 < 6.1.0.201`
- `identity_server >= 7.0.0 < 7.0.0.69`
- `open_banking_iam >= 2.0.0 < 2.0.0.374`
- `open_banking_am >= 2.0.0 < 2.0.0.354`
- `traffic_manager >= 4.5.0 < 4.5.0.16`
- `api_control_plane >= 4.5.0 < 4.5.0.17`
- `universal_gateway >= 4.5.0 < 4.5.0.16`
- `org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.store.configuration.ui >= 5.14.127 < 5.14.127.9`
- `org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.store.configuration.ui >= 5.17.5 < 5.17.5.289`
- `org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.store.configuration.ui >= 5.17.118 < 5.17.118.10`
- `org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.store.configuration.ui >= 5.18.187 < 5.18.187.276`
- `org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.store.configuration.ui >= 5.18.248 < 5.18.248.22`
- `org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.store.configuration.ui >= 5.23.8 < 5.23.8.193`
- `org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.store.configuration.ui >= 5.24.8 < 5.24.8.11`
- `org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.store.configuration.ui >= 5.25.92 < 5.25.92.104`
- `org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.store.configuration.ui >= 5.25.705 < 5.25.705.10`
- `org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.store.configuration.ui >= 5.25.713 < 5.25.713.1`
- `org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.store.configuration.ui >= 5.25.724 < 5.25.724.1`
- `org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.store.configuration.ui >= 7.0.78 < 7.0.78.46`

## Remediation

Follow the instructions given on  https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2024-3178/#solution https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2025/WSO2-2024-3178/#solution
