Vigil@nce - Node.js swagger-ui: Cross Site Scripting via Consumes or Produces
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: 21/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