{"id":"GHSA-g336-c7wv-8hp3","summary":"Cross-Site Scripting in swagger-ui","details":"Affected versions of `swagger-ui` are vulnerable to cross-site scripting via the `url` query string parameter.\n\n\n## Recommendation\n\nUpdate to 2.2.1 or later.","modified":"2021-09-23T21:35:43Z","published":"2020-09-01T15:58:06Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-79"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2020-08-31T18:12:09Z"},"references":[{"type":"WEB","url":"https://github.com/swagger-api/swagger-ui/issues/1617"},{"type":"WEB","url":"https://github.com/swagger-api/swagger-ui/commit/a1aea70f2c64533bf053a41d4da5a8accd0117b7"},{"type":"PACKAGE","url":"https://github.com/swagger-api/swagger-ui"},{"type":"WEB","url":"https://www.npmjs.com/advisories/137"}],"affected":[{"package":{"name":"swagger-ui","ecosystem":"npm","purl":"pkg:npm/swagger-ui"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.2.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-g336-c7wv-8hp3/GHSA-g336-c7wv-8hp3.json"}}],"schema_version":"1.9.0"}