LiveActive security incident?Get immediate response
CVE Record

CVE-2017-16022: Morris.js creates an svg graph, with labels that appear when hovering over a point.

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2017-16022 is a client-side cross-site scripting issue in Morris.js charts. In versions 0.5.0 and earlier, hover label names were not escaped, so attacker-controlled label text could run script when a affected graph loads in a user’s browser.

Executive priority

Treat as a moderate web application risk. Prioritize internet-facing dashboards or customer portals where chart labels can reflect user-supplied data.

Technical view

The issue is CWE-79 in the Morris.js node module. SVG graph hover labels in versions <=0.5.0 fail to escape label names. If an application passes attacker-controlled data into those labels, script may execute client-side when the chart is rendered.

Likely exposure

Exposure is likely limited to applications using Morris.js <=0.5.0 and rendering charts whose hover label names include user-controlled or externally sourced data.

Exploitation context

The provided sources do not show KEV listing or active exploitation. Exploitation requires control over chart label names and a victim loading the affected graph.

Researcher notes

Evidence is concise: the CVE description names unescaped hover label names and client-side script execution. No CVSS score, KEV entry, exploit status, or specific patched release is provided in the bundle.

Mitigation direction

  • Inventory applications for Morris.js versions <=0.5.0.
  • Review the Morris.js advisory and pull request for vendor fix guidance.
  • Upgrade or replace affected Morris.js builds where possible.
  • Escape or sanitize untrusted chart label values before rendering.
  • Avoid feeding user-controlled data into hover label names.

Validation and detection

  • Check package manifests and lockfiles for Morris.js <=0.5.0.
  • Identify charts using hover labels from external or user-controlled data.
  • Verify labels render special characters as text, not active markup.
  • Review deployed bundles for legacy Morris.js copies.
  • Confirm remediation in both source dependencies and built assets.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2017-16022 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
HackerOneMorris.js node module<=0.5.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.