Morris.js XSS via unescaped labels
HackerOne Morris.js node module
At a glance
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.
Source description · CVE List / CNA
System impact
CVSS summary v3.0
- Published:
- Updated:
- EPSS:
- 0.874%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:HackerOne | Morris.js node module | Affected versions: <=0.5.0 |
| Vendor:morris.js_project | morris.js | Affected versions:≤ 0.5.0Show full version range for morris.js
|
1–2 of 2 · Page 1 of 1
CVSS scores and metrics3
[email protected] · NVD (Primary)Primary6.1 / 10MediumCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Changed
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NCVE-2017-16022 · OSV (source-vector)6.1 / 10MediumCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Changed
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N[email protected] · NVD (Primary)4.3 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:N/I:P/A:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories6
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences