Swagger-UI before 2.2.1 has XSS via the Default field in the Definitions section.
Priority LOW 29CWE-79Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Partial Red Hat: 4 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.
Summary
Swagger-UI before 2.2.1 has XSS via the Default field in the Definitions section.
Why it matters now
EPSS 0.01028 63rd percentileScored 2026-11-07
Fix Partial swagger-ui (npm): 2.2.1Red Hat: 4 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Swagger-UI before 2.2.1 | Swagger-UI before 2.2.1 | — | No fix listed | CNA |
| — | swagger-ui (npm) | before 2.2.1 | 2.2.1 | Patch available | GHSA-p239-93f7-h6xf |
- Swagger-UI before 2.2.1 Vendor— Affected Swagger-UI before 2.2.1 Fixed in — No fix listed CNA
- swagger-ui (npm) Vendor— Affected before 2.2.1 Fixed in 2.2.1 Patch available GHSA-p239-93f7-h6xf
Remediation
- Fix · GHSA-p239-93f7-h6xf swagger-ui (npm) Fixed in 2.2.1 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat 3scale API Management Platform 2 | Affected | No fix yet: Fix deferred |
| Red Hat JBoss A-MQ 6 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Fuse 6 | Affected | No fix planned: Out of support scope |
| Red Hat OpenShift Enterprise 2 | Affected | — |
Timeline
- 2026-10-02 Threatist record created from CVE-2016-5682
- 2026-10-03 Alias added: GHSA-p239-93f7-h6xf
References
Advisory 2
More SMARTBEAR Swagger-ui vulnerabilities
- TI-2016-09352 swagger-ui has XSS in key names CVSS 3.1MEDIUM 6.1
Sources
- CVE-2016-5682 · CVE Program
- CVE-2016-5682 · NVD
- FIRST EPSS
- GHSA-p239-93f7-h6xf · GitHub Advisory Database · CC BY 4.0
- CVE-2016-5682 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences