{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2016-5682","published":"2017-04-10T03:59:02.077000Z","last_modified":"2026-06-17T00:49:52.030000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:smartbear:swagger-ui:*:*:*:*:*:*:*:*","part":"a","vendor":"smartbear","product":"swagger-ui","version_end_excluding":"2.2.1"}],"cpes_truncated":false,"vendors":["smartbear"],"products":["smartbear/swagger-ui"],"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-p239-93f7-h6xf","ecosystem":"npm","name":"swagger-ui","purl":"pkg:npm/swagger-ui","ranges":[{"introduced":"0","fixed":"2.2.1"}],"versions":[]}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2016-5682/","html_en":"/en/cve/CVE-2016-5682/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2016-5682","cve_org":"https://www.cve.org/CVERecord?id=CVE-2016-5682"},"untrusted":{"vendor_name":"Smartbear","product_name":"Swagger-ui","desc_en":"Swagger-UI before 2.2.1 has XSS via the Default field in the Definitions section.","affected":[],"references":[{"url":"https://community.rapid7.com/community/infosec/blog/2016/09/02/r7-2016-19-persistent-xss-via-unescaped-parameters-in-swagger-ui","tags":["Third Party Advisory"]}]}}