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.
References
Link | Resource |
---|---|
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 |
Configurations
History
21 Nov 2024, 03:15
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/morrisjs/morris.js/pull/464 - Third Party Advisory | |
References | () https://nodesecurity.io/advisories/307 - Third Party Advisory |
Information
Published : 2018-06-04 19:29
Updated : 2024-11-21 03:15
NVD link : CVE-2017-16022
Mitre link : CVE-2017-16022
CVE.ORG link : CVE-2017-16022
JSON object : View
Products Affected
morris.js_project
- morris.js
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')