CVE-2016-4316 — org.wso2.carbon.ndatasour…
MEDIUMCVE-2016-4316 is a medium-severity (CVSS 6.1) Cross-site Scripting (XSS) vulnerability in org.wso2.carbon.commons:org.wso2.carbon.ndatasource.ui. 4 public exploit or proof-of-concept references are indexed, so weaponization risk is real. The records list no fixed version yet; check the vendor advisory below and apply the mitigations in the meantime.
WSO2 Carbon vulnerable to Cross-site Scripting
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.commons:org.wso2.carbon.ndatasource.ui☕org.wso2.carbon.identity.framework:org.wso2.carbon.identity.mgt.ui☕org.wso2.carbon.commons:org.wso2.carbon.messageflows.uiReal-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 cross-site scripting (XSS) vulnerabilities in WSO2 Carbon 4.4.5 allow remote attackers to inject arbitrary web script or HTML via the (1) setName parameter to identity-mgt/challenges-mgt.jsp; the (2) webappType or (3) httpPort parameter to webapp-list/webapp_info.jsp; the (4) dsName or (5) description parameter to ndatasource/newdatasource.jsp; the (6) phase parameter to viewflows/handlers.jsp; or the (7) url parameter to ndatasource/validateconnection-ajaxprocessor.jsp.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.wso2.carbon.commons:org.wso2.carbon.ndatasource.ui | all versions | No fix |
| ☕Maven | org.wso2.carbon.identity.framework:org.wso2.carbon.identity.mgt.ui | all versions | No fix |
| ☕Maven | org.wso2.carbon.commons:org.wso2.carbon.messageflows.ui | all versions | No fix |
Affected Products
carbonwso2Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
WSO2 Carbon 4.4.5 - Persistent Cross-Site Scripting
by hyp3rlinx · Aug 16, 2016
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.wso2.carbon.commons:org.wso2.carbon.ndatasource.ui, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Remediation status
The records we use list no patched version of org.wso2.carbon.commons:org.wso2.carbon.ndatasource.ui for CVE-2016-4316. Check the maintainer's advisory, and where your build allows, override or pin the dependency away from the vulnerable range.
Mitigate without a patch
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-2016-4316 in your dependencies?
Find it across Maven, including transitive dependencies.