CVE-2020-7749 Information
Feb 14, 2021
cve
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.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
Reference
https://github.com/jperelli/osm-static-maps/blob/master/src/template.html23L142 https://github.com/jperelli/osm-static-maps/pull/24 https://snyk.io/vuln/SNYK-JS-OSMSTATICMAPS-609637
Attack Complexity
LOW
Privileges Required
LOW
User Interaction Required
LOW
Scope
NONE
Confidentiality Impact
UNCHANGED
Integrity Impact
HIGH
Availability Impact
LOW
Base Score
LOW
Base Severity
7.6
Share on: