Search for packages
| purl | pkg:npm/swagger-ui@2.2.1 |
| Vulnerability | Summary | Fixed by |
|---|---|---|
| This package is not known to be affected by vulnerabilities. | ||
| Vulnerability | Summary | Aliases |
|---|---|---|
| VCID-3hsn-22rw-7kay | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') Swagger-UI before 2.2.1 has XSS via the Default field in the Definitions section. |
CVE-2016-5682
GHSA-p239-93f7-h6xf |
| VCID-5918-w4jq-rka8 | XSS in Consumes/Produces Parameter Swagger is a standardized library for documenting API endpoints and their parameters. Swagger uses a JSON document to organize API endpoint parameter data. Swagger-UI version 2.1.4 contains a cross site scripting (XSS) vulnerability in the `consumes` and `produces` parameters of the swagger json document for a given API. A maliciously crafted swagger JSON doc can be loaded via the URL query-string parameter `url`. To exploit the vulnerability, an attacker would convince a user to visit a malicious url crafted in the following format: ``` http://<USER_HOSTNAME>/swagger-ui/index.html?url=http://<MALICIOUS_HOSTNAME>/malicious-swagger-file.json ```` This issue is being disclosed before a public patched release is available due to the issue being made public in a Github issue. |
CVE-2016-1000226
GHSA-7f59-x49p-v8mq GMS-2020-783 |
| VCID-fc6y-84x3-8bgu | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in swagger-ui. |
GHSA-vp93-gcx5-4w52
GMS-2020-786 |
| VCID-hvuf-t6m7-fuhh | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in swagger-ui. |
GHSA-w992-2gmj-9xxj
GMS-2020-787 |
| VCID-mjr2-z5x4-e3bs | Cross-Site Scripting in swagger-ui 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. |
GHSA-g336-c7wv-8hp3
GMS-2020-784 |
| VCID-r28p-re5d-uya7 | XSS via Content-type header By using a malicious server which returns script as the value of the Content-Type header, it is possible to execute arbitrary code using the demonstration capabilities of Swagger-UI. |
CVE-2016-1000233
GHSA-mrx7-8hxf-f853 GMS-2020-785 |
| VCID-sp5n-ncjd-rkft | XSS in key names Swagger is a standardized library for documenting API endpoints and their parameters. Swagger uses a JSON document to organize API endpoint parameter data. Swagger-ui contains a cross site scripting (XSS) vulnerability in the key names for the following object path in the JSON document: ``` .definitions.<USER_DEFINED>.properties.<INJECTABLE_KEY_NAME> ``` Supplying a key name with script tags causes arbitrary code execution. In addition it is possible to load the arbitrary JSON files remotely via the `URL` query-string parameter. This advisory is being disclosed before a public patched release is available because of a public Github issue documenting the vulnerability. |
CVE-2016-1000229
GHSA-h8wp-wgcq-qhrf |
| VCID-znja-a329-yyh9 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in swagger-ui. |
GHSA-22q9-hqm5-mhmc
GMS-2020-780 |