Back
CVE-2020-7749
Server-side Request Forgery (SSRF)
High7.6EPSS 1.6%
- Published
- Updated
- Reserved
- Assigned by
- snyk
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| snykCNA (assigner) | 3.1 | High7.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 |
| NVDNVD · Modified | 3.1 | High7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L |
- EPSS (exploitation in 30 days)
- 1.6% · top 24% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.6.
Weakness
- Server-side Request Forgery (SSRF)
- CWE-74 (opens in a new tab)All about CWE-74 and its CVEs
- CWE-79 (opens in a new tab)All about CWE-79 and its CVEs
Affected products
osm-static-maps
- affected < unspecified
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmosm-static-mapsGHSA-pxcf-v868-m492 (opens in a new tab)
References (3)
- https://snyk.io/vuln/SNYK-JS-OSMSTATICMAPS-609637 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/jperelli/osm-static-maps/blob/master/src/template.html%23L142 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/jperelli/osm-static-maps/pull/24 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-pxcf-v868-m492 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2020-7749)Record last updated .