{"id":"CVE-2016-5682","details":"Swagger-UI before 2.2.1 has XSS via the Default field in the Definitions section.","aliases":["GHSA-p239-93f7-h6xf"],"modified":"2026-03-14T09:22:14.716931Z","published":"2017-04-10T03:59:02.077Z","references":[{"type":"ADVISORY","url":"https://community.rapid7.com/community/infosec/blog/2016/09/02/r7-2016-19-persistent-xss-via-unescaped-parameters-in-swagger-ui"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/swagger-api/swagger-ui","events":[{"introduced":"0"},{"fixed":"d146b01dc8380590214affac7fd0a044087890ff"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"2.2.1"}]}}],"versions":["v1.0","v1.0.1","v1.0.12","v1.0.13","v1.1.1","v1.1.15","v1.1.3","v1.1.4","v1.1.5","v1.1.6","v1.1.7","v2.0.0","v2.0.1","v2.0.10","v2.0.11","v2.0.12","v2.0.14","v2.0.15","v2.0.16","v2.0.17","v2.0.18","v2.0.19","v2.0.2","v2.0.20","v2.0.21","v2.0.22","v2.0.24","v2.0.3","v2.0.4","v2.0.7","v2.0.8","v2.0.9","v2.1.0","v2.1.0-M1","v2.1.0-M2","v2.1.0-alpha.1","v2.1.0-alpha.4","v2.1.0-alpha.5","v2.1.0-alpha.6","v2.1.1","v2.1.1-M1","v2.1.1-M2","v2.1.2","v2.1.2-M1","v2.1.2-M2","v2.1.3","v2.1.3-M1","v2.1.3-M2","v2.1.4","v2.1.4-M1","v2.1.4-M2","v2.1.5","v2.1.5-M1","v2.1.5-M2","v2.1.6-M1","v2.1.7-M1","v2.1.8-M1","v2.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-5682.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}