{"id":"GHSA-4f9m-pxwh-68hg","aliases":[],"url":"https://o3.security/vulnerability/GHSA-4f9m-pxwh-68hg","summary":"Cross-Site Scripting in swagger-ui","details":"Versions of `swagger-ui` prior to 3.20.9 are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitize URLs used in the OAuth auth flow, which may allow attackers to execute arbitrary JavaScript.\n\n\n## Recommendation\n\nUpgrade to version 3.20.9 or later.","published":"2020-09-11T21:20:14Z","modified":"2021-09-28T16:57:07Z","cvss":{"score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"swagger-ui","fixedVersion":"3.20.9"}],"fix":{"url":"https://github.com/swagger-api/swagger-ui/pull/5190","label":"swagger-api/swagger-ui#5190"},"references":[{"type":"WEB","url":"https://github.com/swagger-api/swagger-ui/pull/5190"},{"type":"WEB","url":"https://github.com/swagger-api/swagger-ui/commit/1e184e8e218676278c83e60a45846c199ce3d15e"},{"type":"PACKAGE","url":"https://github.com/swagger-api/swagger-ui"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-SWAGGERUI-449921"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2021-09-28T16:57:07Z"}}