Back
CVE-2017-16022
Morris.js creates an svg graph, with labels that appear when hovering over a point. The hovering label names are not escaped in versions…
Medium6.1EPSS 0.89%
- Published
- Updated
- Reserved
- Assigned by
- hackerone
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Medium6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.89% · top 41% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.1.
Weakness
Affected products
HackerOne · Morris.js node module
- affected <=0.5.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmmorris.jsGHSA-fwx5-5fqj-jv98 (opens in a new tab)
References (2)
- https://nodesecurity.io/advisories/307 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/morrisjs/morris.js/pull/464 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-fwx5-5fqj-jv98 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2017-16022)Record last updated .