Description
Swagger UI before 4.1.3 could allow a remote attacker to conduct spoofing attacks. By persuading a victim to open a crafted URL, an attacker could exploit this vulnerability to display remote OpenAPI definitions.
Recommendation
Update the swagger-ui package to the latest compatible version. Followings are version details:
- Affected version(s): < 4.1.3
- Patched version(s): 4.1.3
References
Could your website be exposed too?
SmartScanner can check your website for Spoofing attack in swagger-ui and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Spoofing attack in swagger-ui-dist - CVE-2021-46708
- Improper Neutralization of Input During Web Page Generation in swagger-ui - CVE-2016-1000229
- Cross-Site Scripting in swagger-ui - swagger-ui - CVE-2016-1000233
- Cross-Site Scripting in swagger-ui - swagger-ui - GHSA-7f59-x49p-v8mq - CVE-2016-1000226


