CVE-2020-7749
7.6
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L/E:U/RL:O/RC:R
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| n/a | osm-static-maps | 0 < unspecified | affected |
Weaknesses
- Server-side Request Forgery (SSRF)
ADP Enrichment
CVE Program Container
Additional References
- https://snyk.io/vuln/SNYK-JS-OSMSTATICMAPS-609637
- https://github.com/jperelli/osm-static-maps/blob/master/src/template.html%23L142
- https://github.com/jperelli/osm-static-maps/pull/24
References
- https://snyk.io/vuln/SNYK-JS-OSMSTATICMAPS-609637
- https://github.com/jperelli/osm-static-maps/blob/master/src/template.html%23L142
- https://github.com/jperelli/osm-static-maps/pull/24
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.