{"id":"CVE-2016-4316","aliases":["EDB-40241","GHSA-2vcm-2mcr-wmx7"],"kind":"cve","tier":"cold","status":"published","title":"WSO2 Carbon vulnerable to Cross-site Scripting","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.","ai_summary":null,"severity":"medium","cvss":{"score":6.1,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"NVD"},"scores":[{"score":6.1,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd"},{"score":4.3,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","source":"nvd"}],"cwe":["CWE-79"],"remote":true,"remote_unauth":true,"epss":{"score":0.03998,"percentile":0.9078,"date":"2026-12-01"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":true,"exploitdb_ids":[40241]},"affected":[{"ecosystem":"Maven","name":"org.wso2.carbon.commons:org.wso2.carbon.ndatasource.ui","affected":"<= 4.4.5","fixed":[],"source":"osv"},{"ecosystem":"Maven","name":"org.wso2.carbon.identity.framework:org.wso2.carbon.identity.mgt.ui","affected":"<= 4.4.5","fixed":[],"source":"osv"},{"ecosystem":"Maven","name":"org.wso2.carbon.commons:org.wso2.carbon.messageflows.ui","affected":"<= 4.4.5","fixed":[],"source":"osv"}],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-4316","kind":"vendor"},{"url":"http://packetstormsecurity.com/files/138331/WSO2-Carbon-4.4.5-Cross-Site-Scripting.html","kind":"exploit"},{"url":"https://www.exploit-db.com/exploits/40241/","kind":"exploit"},{"url":"http://hyp3rlinx.altervista.org/advisories/WSO2-CARBON-v4.4.5-PERSISTENT-XSS-COOKIE-THEFT.txt","kind":"exploit"},{"url":"https://www.exploit-db.com/exploits/40241","kind":"exploit"},{"url":"http://www.securityfocus.com/bid/92473","kind":"other"},{"url":"http://www.securityfocus.com/archive/1/539201/100/0/threaded","kind":"other"},{"url":"https://web.archive.org/web/20201207111805/http://www.securityfocus.com/archive/1/539201/100/0/threaded","kind":"other"}],"workarounds":null,"vendors":["wso2"],"products":["carbon"],"cpes":["cpe:2.3:a:wso2:carbon:4.4.5:*:*:*:*:*:*:*"],"published_at":"2016-08-16T00:00:00.000Z","modified_at":"2026-06-17T00:47:20.240Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-4316"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GHSA-2vcm-2mcr-wmx7","license_url":"https://creativecommons.org/licenses/by/4.0/"},{"source":"Exploit-DB","text":"Exploit metadata (ID and link only) from the Exploit Database","url":"https://www.exploit-db.com/exploits/40241"}],"links":{"html":"https://flawdb.com/CVE-2016-4316","markdown":"https://flawdb.com/CVE-2016-4316.md","json":"https://flawdb.com/api/v1/entries/CVE-2016-4316"}}