GHSA-g336-c7wv-8hp3

Suggest an improvement
Source
https://github.com/advisories/GHSA-g336-c7wv-8hp3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-g336-c7wv-8hp3/GHSA-g336-c7wv-8hp3.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-g336-c7wv-8hp3
Published
2020-09-01T15:58:06Z
Modified
2021-09-23T21:35:43Z
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.

Recommendation

Update to 2.2.1 or later.

Database specific
{
    "cwe_ids": [
        "CWE-79"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2020-08-31T18:12:09Z",
    "nvd_published_at": null,
    "severity": "CRITICAL"
}
References

Affected packages

npm / swagger-ui

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
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"