# CVE-2016-5682

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2017-04-10 · Modified: 2024-08-06
- Aliases: GHSA-p239-93f7-h6xf
- Record: https://cvemate.com/vulnerability/CVE-2016-5682 · JSON: https://cvemate.com/vulnerability/CVE-2016-5682/json

## Description

```text
Swagger-UI before 2.2.1 has XSS via the Default field in the Definitions section.
```

## Signals

- CVSS: 6.1 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 1.028%, percentile 64.777%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- Npm swagger-ui (Npm): \< 2.2.1
- smartbear swagger-ui: \< 2.2.1

## References

- <https://community.rapid7.com/community/infosec/blog/2016/09/02/r7-2016-19-persistent-xss-via-unescaped-parameters-in-swagger-ui>
- <https://nvd.nist.gov/vuln/detail/CVE-2016-5682>
- <https://github.com/swagger-api/swagger-ui/issues/1865>
- <https://github.com/swagger-api/swagger-ui>
- <https://www.npmjs.com/advisories/126>

---

Data as of 2026-12-05T09:03:38.451Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
