Skip to content
OpenAdvisories
Medium CVE-2017-16022 EUVD-2018-0750GHSA-fwx5-5fqj-jv98

Cross-Site Scripting in morris.js

Published Jun 4, 2018 · Updated Sep 16, 2024 · Assigned by hackerone

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.

Affected products

VendorProductAffectedFixed
HackerOne Morris.js node module <=0.5.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm morris.js 0.5.0 — GHSA-fwx5-5fqj-jv98

References