Bug 1360275 (CVE-2016-1000229) - CVE-2016-1000229 swagger-ui: cross-site scripting in key names
Summary: CVE-2016-1000229 swagger-ui: cross-site scripting in key names
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2016-1000229
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1360278 1426003
TreeView+ depends on / blocked
 
Reported: 2016-07-26 11:48 UTC by Martin Prpič
Modified: 2021-10-21 00:53 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
It was found that swagger-ui contains a cross site scripting (XSS) vulnerability in the key names in the JSON document. An attacker could use this flaw to supply a key name with script tags which could cause arbitrary code execution. Additionally it is possible to load the arbitrary JSON files remotely via the URL query-string parameter.
Clone Of:
Environment:
Last Closed: 2021-10-21 00:53:59 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:0868 0 normal SHIPPED_LIVE Important: Red Hat JBoss Fuse/A-MQ 6.3 R2 security and bug fix update 2017-04-04 01:02:28 UTC

Description Martin Prpič 2016-07-26 11:48:31 UTC
The following flaw was found in the swagger-ui library:

Swagger-ui contains a cross site scripting (XSS) vulnerability in the key names for the following object path in the JSON document:

.definitions.<USER_DEFINED>.properties.<INJECTABLE_KEY_NAME>

Supplying a key name with script tags causes arbitrary code execution. In addition it is possible to load the arbitrary JSON files remotely via the URL query-string parameter.

Upstream bug:

https://github.com/swagger-api/swagger-ui/issues/1865

External References:

https://nodesecurity.io/advisories/126

Comment 2 errata-xmlrpc 2017-04-03 21:03:08 UTC
This issue has been addressed in the following products:



Via RHSA-2017:0868 https://access.redhat.com/errata/RHSA-2017:0868

Comment 3 errata-xmlrpc 2018-07-02 15:51:32 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Fuse

Via RHSA-2017:0868 https://access.redhat.com/errata/RHSA-2017:0868


Note You need to log in before you can comment on or make changes to this bug.