{"id":"CVE-2017-16022","sourceIdentifier":"support@hackerone.com","published":"2018-06-04T19:29:01.350","lastModified":"2026-06-17T01:08:39.430","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Morris.js crea un gráfico svg con etiqueta que aparecen cuando se pasa por un puntero. Los nombres de etiqueta flotantes no se escapan en las versiones 0.5.0 y anteriores. Si se obtiene el control de las etiquetas, se pueden inyectar scripts. Este script se ejecutará en el lado del cliente siempre que se cargue ese gráfico en concreto."}],"affected":[{"source":"support@hackerone.com","affectedData":[{"vendor":"HackerOne","product":"Morris.js node module","versions":[{"version":"<=0.5.0","status":"affected"}]}]}],"metrics":{"cvssMetricV30":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":2.7}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","baseScore":4.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}]},"weaknesses":[{"source":"support@hackerone.com","type":"Secondary","description":[{"lang":"en","value":"CWE-79"}]},{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-79"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:morris.js_project:morris.js:*:*:*:*:*:node.js:*:*","versionEndIncluding":"0.5.0","matchCriteriaId":"77FC2E5A-F28F-4650-B697-FB431EE5F10A"}]}]}],"references":[{"url":"https://github.com/morrisjs/morris.js/pull/464","source":"support@hackerone.com","tags":["Third Party Advisory"]},{"url":"https://nodesecurity.io/advisories/307","source":"support@hackerone.com","tags":["Third Party Advisory"]},{"url":"https://github.com/morrisjs/morris.js/pull/464","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"https://nodesecurity.io/advisories/307","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]}]}