What’s Vulnerable › Vulnerabilities
CVE-2017-16022
- Severity: medium (CVSS 6.1 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2018-06-04 · updated 2026-06-17
- Weakness: CWE-79
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.
Affected products
- HackerOne Morris.js node module: through 0.5.0
References
- https://github.com/morrisjs/morris.js/pull/464
- https://nodesecurity.io/advisories/307
- https://github.com/morrisjs/morris.js/pull/464
- https://nodesecurity.io/advisories/307
Get alerted when CVE-2017-16022 or the next vulnerability affects your stack