XSS in HackerOne Morris.js Node Module

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 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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.009 (56.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2017-16022?
CVE-2017-16022 is a medium-severity vulnerability in HackerOne Morris.js Node Module, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2018-06-04.
How severe is CVE-2017-16022?
Medium severity. CVSS v3 base score is 6.1 out of 10.