Vulnerability · Published Jun 2, 2025 · Assigned by WSO2

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

Medium 5.2

In plain English

A medium-severity cross-site scripting in WSO2 API Control Plane from WSO2. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 46% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.2Medium
Exploit odds (30 days)0.6%top 53.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.store.configuration.ui7.5.12GHSA-xpxp-r8hf-wgf6

Affected products (as reported)

VendorProductVersions
WSO2 WSO2 Enterprise Integrator 6.6.0 – before 6.6.0.211
WSO2 WSO2 API Manager 3.1.0 – before 3.1.0.3053.2.0 – before 3.2.0.3963.2.1 – before 3.2.1.284.0.0 – before 4.0.0.3134.1.0 – before 4.1.0.1824.2.0 – before 4.2.0.1214.3.0 – before 4.3.0.32
WSO2 WSO2 Identity Server as Key Manager 5.10.0 – before 5.10.0.321
WSO2 WSO2 Identity Server 5.10.0 – before 5.10.0.3285.11.0 – before 5.11.0.3746.0.0 – before 6.0.0.2166.1.0 – before 6.1.0.2017.0.0 – before 7.0.0.69
WSO2 WSO2 Open Banking IAM 2.0.0 – before 2.0.0.374
WSO2 WSO2 Open Banking AM 2.0.0 – before 2.0.0.354
WSO2 WSO2 Traffic Manager 4.5.0 – before 4.5.0.16
WSO2 WSO2 API Control Plane 4.5.0 – before 4.5.0.17
WSO2 WSO2 Universal Gateway 4.5.0 – before 4.5.0.16
WSO2 WSO2 Carbon Identity User Store Configuration UI 5.14.127 – before 5.14.127.95.17.5 – before 5.17.5.2895.17.118 – before 5.17.118.105.18.187 – before 5.18.187.2765.18.248 – before 5.18.248.225.23.8 – before 5.23.8.1935.24.8 – before 5.24.8.115.25.92 – before 5.25.92.104

Weakness: CWE-79 · Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References