CVE-2023-6911 is a medium-severity (CVSS 4.8) Cross-site Scripting (XSS) vulnerability in org.wso2.carbon.registry:carbon-registry. A fix is available for org.wso2.carbon.registry:carbon-registry — see the affected versions and patch details below.
WSO2 Registry Stored Cross Site Scripting (XSS) vulnerability
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.wso2.carbon.registry:carbon-registryReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Multiple WSO2 products have been identified as vulnerable due to improper output encoding, a Stored Cross Site Scripting (XSS) attack can be carried out by an attacker injecting a malicious payload into the Registry feature of the Management Console.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.wso2.carbon.registry:carbon-registry | all versions | 4.7.37org.wso2.carbon.registry:carbon-registry:4.7.37 |
Affected Products
api managerwso2api manager analyticswso2api microgatewaywso2data analytics serverwso2enterprise integratorwso2identity serverwso2Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.wso2.carbon.registry:carbon-registry, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.wso2.carbon.registry:carbon-registry to 4.7.37 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2023-6911 is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Frequently Asked Questions
Is CVE-2023-6911 in your dependencies?
Find it across Maven, including transitive dependencies.