6.1med
CVE-2016-5682
Cross-Site Scripting in swagger-ui
Also known as GHSA-p239-93f7-h6xf
Published 9 y ago · modified 4 mo ago · JSON
CVSS
6.1
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
1.0%
percentile 64%
Public exploits
0
none known
Summary
Swagger-UI before 2.2.1 has XSS via the Default field in the Definitions section.
Exploit prediction (EPSS)
1.03% probability of exploitation in the next 30 days, higher than 64% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | swagger-ui | <2.2.1 | 2.2.1 |
Affected products
- n/a Swagger-UI before 2.2.1
Classification
- Weakness
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- community.rapid7.com /community/infosec/blog/2016/09/02/r7-2016-19-persistent-xss-via-unescaped-parameters-in-s · x_refsource_MISC, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2016-5682 · advisory
- github.com /swagger-api/swagger-ui/issues/1865 · web
- github.com /swagger-api/swagger-ui · package
- npmjs.com /advisories/126 · web
Sources
- CVE List: CVE-2016-5682
- GitHub Advisory: GHSA-p239-93f7-h6xf
- NVD: CVE-2016-5682
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.