CVEvulnerability
CVE-2017-16022
6.1 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2018-06-04
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 6.1 MEDIUM — CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:P/A:N
- Weaknesses
- 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 configurations
• morris.js project morris.js (<= 0.5.0)
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/morrisjs/morris.js/pull/464 Third Party Advisory
- https://nodesecurity.io/advisories/307 Third Party Advisory
- https://github.com/morrisjs/morris.js/pull/464 Third Party Advisory
- https://nodesecurity.io/advisories/307 Third Party Advisory