CVE-2016-5682
medium
CVSS v3
6.1
CVSS v4 NEW
โ
VIR risk
6.1
Description
Cross-Site Scripting in swagger-ui
Predictions
Exploit likelihood
71%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| npm | swagger-ui | <2.2.1 | 2.2.1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| smartbear | swagger-ui | {"endExcluding":"2.2.1"} | 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
CWEs
CWE-79
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.