Skip to content
Fencer Vulns
medium 6.1

CVE-2016-5682 json

Cross-Site Scripting in swagger-ui

published 2017-04-10 9 y ago modified 2026-06-17 4 mo ago also GHSA-p239-93f7-h6xf , EUVD-2020-1192

cvss
6.1
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.0%
EPSS 1.0% chance of exploitation in 30 days, percentile 63%
public exploits
0
none known

Summary

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

Patch / fix

  • npm swagger-ui 2.2.1
  • smartbear swagger-ui 2.2.1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2016-5682 updated cvss 5.4

hawtio-swagger-ui: XSS vulnerability in Definitions section

  • Red Hat 3scale API Management Platform 2 system
    affected: no fix available “Fix deferred”
  • Red Hat JBoss A-MQ 6 hawtio-swagger-ui hawtio-swagger-ui Red Hat JBoss Fuse 6 hawtio-swagger-ui hawtio-swagger-ui
    affected: no fix planned “Out of support scope”
  • Red Hat OpenShift Enterprise 2 hawtio-swagger-ui
    under investigation

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.03% chance of exploitation in the next 30 days, higher than 63% of all scored CVEs (FIRST EPSS, 2026-11-08).

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

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.