GHSA-p239-93f7-h6xf

ghsaUSosv

Cross-Site Scripting in swagger-ui

view advisory published 2020-09-01Licence: CC-BY-4.0

Affected versions of `swagger-ui` contain a cross-site scripting vulnerability in the key names of a specific nested object in the JSON document. ## Proof of Concept The vulnerable object structure is: ``` { "definitions": { "arbitraryVal": { "properties": { "<INJECTABLE_KEY_NAME>": "LoremIpsum" } } } } ``` Malicious JSON documents can be loaded in by providing a URL to them in the `url` query string parameter. ## Recommendation Update to version 2.2.1 or later.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2016-5682USmedium6.1—
Swagger-UI before 2.2.1 has XSS via the Default field in the Definitions section.
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan