QID 980699
QID 980699: Nodejs (npm) Security Update for swagger-ui (GHSA-p239-93f7-h6xf)
Affected versions of `swagger-ui` contain a cross-site scripting vulnerability in the key names of a specific nested object in the JSON document.
## Proof of Concept
The vulnerable object structure is:
```
{
"definitions": {
"arbitraryVal": {
"properties": {
"<INJECTABLE_KEY_NAME>": "LoremIpsum"
}
}
}
}
```
Malicious JSON documents can be loaded in by providing a URL to them in the `url` query string parameter.
## Recommendation
Update to version 2.2.1 or later.
Successful exploitation of this vulnerability may affect the confidentiality, integrity, and availability of the targeted user.
Solution
Customers are advised to refer to GHSA-p239-93f7-h6xf for updates pertaining to this vulnerability.
Vendor References
- GHSA-p239-93f7-h6xf -
github.com/advisories/GHSA-p239-93f7-h6xf
CVEs related to QID 980699
Software Advisories
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-p239-93f7-h6xf | swagger-ui |
|