CVE-2017-16022
MEDIUM 6.1CVSS 3.0Cross-Site Scripting in morris.js
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.
- Published
- 4 Jun 2018
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-fwx5-5fqj-jv98
- Sources
- NVDJSONOSV GHSA-fwx5-5fqj-jv98JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | morris.js_project | morris.jscpe:2.3:a:morris.js_project:morris.js:*:*:*:*:*:node.js:*:* |
<= 0.5.0 | |
| OSV | npm | morris.js | = 0.5.0 |
References
- https://github.com/morrisjs/morris.js/pull/464 · Third Party Advisory, WEB
- https://nodesecurity.io/advisories/307 · Third Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-16022 · ADVISORY
- https://github.com/advisories/GHSA-fwx5-5fqj-jv98 · ADVISORY
- https://www.npmjs.com/advisories/307 · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 4 Jun 2018)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Nov 2018)