CVE-2017-16022Published Jun 4, 2018 · Jun 4Updated Oct 20
Cross-Site Scripting in morris.js
HackerOne Morris.js node module
Medium6.1
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| morris.js npm |
| No fix yet |
Original description
Morris.js creates an svg graph, with labels that appear when hovering over a point. The hovering label names are not escaped in versions 0.5.0 and earlier. If control over the labels is obtained, script can be injected. The script will run on the client side whenever that specific graph is loaded.
From the CVE record · hackerone