Insecure Defaults Affecting swagger-ui package, versions <3.26.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insecure Defaults vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-SWAGGERUI-572012
  • published1 Jul 2020
  • disclosed11 Jun 2020
  • creditUnknown

Introduced: 11 Jun 2020

CVE NOT AVAILABLE CWE-453  (opens in a new tab)

How to fix?

Upgrade swagger-ui to version 3.26.1 or higher.

Overview

swagger-ui is a library that allows interaction and visualisation of APIs.

Affected versions of this package are vulnerable to Insecure Defaults. Markdown rendering allows class, style and data attributes in the result by default.

References

CVSS Scores

version 3.1