Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Morris.Js Project | Morris.Js | <= 0.5.0 |
Related Weaknesses (CWE)
References
- https://github.com/morrisjs/morris.js/pull/464Third Party Advisory
- https://nodesecurity.io/advisories/307Third Party Advisory
- https://github.com/morrisjs/morris.js/pull/464Third Party Advisory
- https://nodesecurity.io/advisories/307Third Party Advisory
FAQ
What is CVE-2017-16022?
CVE-2017-16022 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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, scri...
How severe is CVE-2017-16022?
CVE-2017-16022 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2017-16022?
Check the references section above for vendor advisories and patch information. Affected products include: Morris.Js Project Morris.Js.