Description
Affected versions of swagger-ui are vulnerable to cross-site scripting in both the consumes and produces parameters of the swagger JSON document for a given API.
Recommendation
Update the swagger-ui package to the latest compatible version. Followings are version details:
- Affected version(s): < 2.2.1
- Patched version(s): 2.2.1
References
Could your website be exposed too?
SmartScanner can check your website for Cross-Site Scripting in swagger-ui - swagger-ui - GHSA-7f59-x49p-v8mq and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Cross-Site Scripting in swagger-ui - swagger-ui - GHSA-p239-93f7-h6xf - CVE-2016-5682
- Cross-Site Scripting in swagger-ui - swagger-ui - CVE-2016-1000233
- Cross-Site Scripting in sanitize-html - sanitize-html - GHSA-3j7m-hmh3-9jmp - CVE-2016-1000237
- Cross-Site Scripting in swagger-ui - swagger-ui - GHSA-22q9-hqm5-mhmc - Vulnerability
You might also like:
See something that needs correcting? Let us knowUpdated January 09, 2023


