{"id":"CVE-2017-16022","url":"https://www.cyber-defence.io/tools/cve/CVE-2017-16022","generatedAt":"2026-10-28T22:10:37.054Z","title":"If control over the labels is obtained, script can be injected.","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.","published":"2018-06-04T19:29:01.000Z","lastModified":"2026-06-17T01:08:39.000Z","status":"Modified","sourceIdentifier":"support@hackerone.com","cvss":{"version":"3.0","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"cwe":["CWE-79"],"affected":["morris.js project/morris.js"],"epss":{"score":0.00891,"percentile":0.59192,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.89%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"https://github.com/morrisjs/morris.js/pull/464","tags":["Third Party Advisory"],"source":"support@hackerone.com"},{"url":"https://nodesecurity.io/advisories/307","tags":["Third Party Advisory"],"source":"support@hackerone.com"},{"url":"https://github.com/morrisjs/morris.js/pull/464","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://nodesecurity.io/advisories/307","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-16022","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}