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.
Advisories
Source ID Title
EUVD EUVD EUVD-2018-0750 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.
Github GHSA Github GHSA GHSA-fwx5-5fqj-jv98 Cross-Site Scripting in morris.js
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: hackerone

Published:

Updated: 2024-09-16T21:08:55.440Z

Reserved: 2017-10-29T00:00:00

Link: CVE-2017-16022

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2018-06-04T19:29:01.350

Modified: 2024-11-21T03:15:40.813

Link: CVE-2017-16022

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.