PT-2017-8745 · Swagger · Swagger-Ui

Published

2017-04-10

·

Updated

2020-09-01

·

CVE-2016-5682

CVSS v3.1

6.1

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions swagger-ui versions prior to 2.2.1
Description The issue concerns a cross-site scripting vulnerability in the key names of a specific nested object in the JSON document, particularly in the definitions section. This can be exploited by loading malicious JSON documents via a URL provided in the url query string parameter. The vulnerability allows for XSS attacks through the Default field in the Definitions section.
Recommendations For versions prior to 2.2.1, update to version 2.2.1 or later.

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2016-5682
GHSA-P239-93F7-H6XF

Affected Products

Swagger-Ui