Affected versions of swagger-ui are vulnerable to cross-site scripting via the url query string parameter.
Update to 2.2.1 or later.
{
"cwe_ids": [
"CWE-79"
],
"github_reviewed": true,
"github_reviewed_at": "2020-08-31T18:12:09Z",
"nvd_published_at": null,
"severity": "CRITICAL"
}