Security mailing lists by PureSourceCode

CVE-2017-16022

MEDIUM 6.1CVSS 3.0

Cross-Site Scripting in morris.js

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
4 Jun 2018
Last modified
17 Jun 2026
Assigned by
support@hackerone.com
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-fwx5-5fqj-jv98
Sources
NVDJSONOSV GHSA-fwx5-5fqj-jv98JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 MEDIUM 6.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD morris.js_project morris.js
cpe:2.3:a:morris.js_project:morris.js:*:*:*:*:*:node.js:*:*
<= 0.5.0
OSV npm morris.js = 0.5.0

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 4 Jun 2018)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Nov 2018)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.