CVE-2020-7749
CVSS V2 Medium 6.5
CVSS V3 High 7.6
Description
This affects all versions of package osm-static-maps. User input given to the package is passed directly to a template without escaping ({{{ ... }}}). As such, it is possible for an attacker to inject arbitrary HTML/JS code and depending on the context. It will be outputted as an HTML on the page which gives opportunity for XSS or rendered on the server (puppeteer) which also gives opportunity for SSRF and Local File Read.
Overview
- CVE ID
- CVE-2020-7749
- Assigner
- report@snyk.io
- Vulnerability Status
- Analyzed
- Published Version
- 2020-10-20T11:15:12
- Last Modified Date
- 2021-07-21T11:39:23
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:osm-static-maps_project:osm-static-maps:*:*:*:*:*:node.js:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:S/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- SINGLE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 6.5
- Severity
- MEDIUM
- Exploitability Score
- 8
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- LOW
- Base Score
- 7.6
- Base Severity
- HIGH
- Exploitability Score
- 2.8
- Impact Score
- 4.7
References
Reference URL | Reference Tags |
---|---|
https://github.com/jperelli/osm-static-maps/blob/master/src/template.html%23L142 | Broken Link |
https://snyk.io/vuln/SNYK-JS-OSMSTATICMAPS-609637 | Exploit Third Party Advisory |
https://github.com/jperelli/osm-static-maps/pull/24 | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2020-7749 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7749 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:05:44 | Added to TrackCVE | |||
2022-12-05 00:30:19 | 2020-10-20T11:15Z | 2020-10-20T11:15:12 | CVE Published Date | updated |
2022-12-05 00:30:19 | 2021-07-21T11:39:23 | CVE Modified Date | updated | |
2022-12-05 00:30:19 | Analyzed | Vulnerability Status | updated |