What’s Vulnerable › Vulnerabilities
CVE-2020-7749: Server-side Request Forgery (SSRF)
- Severity: medium (CVSS 6.5 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2020-10-20 · updated 2026-06-17
- Weakness: CWE-74
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.
Affected products
- osm-static-maps: all versions
References
- https://github.com/jperelli/osm-static-maps/blob/master/src/template.html%23L142
- https://github.com/jperelli/osm-static-maps/pull/24
- 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
- https://snyk.io/vuln/SNYK-JS-OSMSTATICMAPS-609637
Get alerted when CVE-2020-7749 or the next vulnerability affects your stack