Vigil@nce - Node.js swagger-ui: Cross Site Scripting
September 2016 by Vigil@nce
This bulletin was written by Vigil@nce : https://vigilance.fr/offer
SYNTHESIS OF THE VULNERABILITY
An attacker can trigger a Cross Site Scripting of Node.js
swagger-ui, in order to run JavaScript code in the context of the
web site.
Impacted products: Node.js Modules not comprehensive.
Severity: 2/4.
Creation date: 22/07/2016.
DESCRIPTION OF THE VULNERABILITY
The swagger-ui module can be installed on Node.js.
However, it does not filter received data before inserting them in
generated HTML documents.
An attacker can therefore trigger a Cross Site Scripting of
Node.js swagger-ui, in order to run JavaScript code in the context
of the web site.
ACCESS TO THE COMPLETE VIGIL@NCE BULLETIN
https://vigilance.fr/vulnerability/Node-js-swagger-ui-Cross-Site-Scripting-20191