{"id":"CVE-2020-7749","aliases":["EUVD-2021-1155","GHSA-pxcf-v868-m492"],"status":"published","title":"Server-side Request Forgery (SSRF)","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.","severity":{"version":"3.1","score":7.6,"vector":"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","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.016,"percentile":0.76,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-74","CWE-79"],"published":"2020-10-20T10:25:26Z","modified":"2026-06-17T03:25:22Z","fixes":[{"ecosystem":"npm","package":"osm-static-maps","fixed_in":["3.9.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"osm-static-maps","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.0"}]}]},{"source":"osv","ecosystem":"npm","package":"osm-static-maps","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.9.0"}]}]}],"products":[{"vendor":"osm-static-maps_project","product":"osm-static-maps"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-OSMSTATICMAPS-609637","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/jperelli/osm-static-maps/blob/master/src/template.html%23L142","tags":["x_refsource_MISC","x_transferred","Broken Link","web"]},{"url":"https://github.com/jperelli/osm-static-maps/pull/24","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7749","tags":["advisory"]},{"url":"https://github.com/jperelli/osm-static-maps/commit/97355d29e08753d1cfe99b1281dbaa06f4e651b0","tags":["web"]},{"url":"https://github.com/advisories/GHSA-pxcf-v868-m492"}],"sources":{"cve":[{"id":"CVE-2020-7749","title":"Server-side Request Forgery (SSRF)","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.","status":"published","published":"2020-10-20T10:25:26.929Z","modified":"2024-09-16T16:28:47.401Z","cvss":[{"version":"3.1","score":7.6,"vector":"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","level":"high","assessor":"cna"}],"updated_at":"2026-11-02T14:35:58.331892Z"}],"euvd":[{"id":"EUVD-2021-1155","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.","status":"published","published":"2020-10-20T10:25:26Z","modified":"2024-09-16T16:28:47Z","cvss":[{"version":"3.1","score":7.6,"vector":"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","level":"high"}],"updated_at":"2026-11-03T00:55:51.136895Z"}],"ghsa":[{"id":"GHSA-pxcf-v868-m492","title":"Injection and Cross-site Scripting in osm-static-maps","description":"This affects all versions of package osm-static-maps under 3.9.0. 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.","status":"published","published":"2021-05-10T18:43:45Z","modified":"2023-09-11T20:22:41Z","cvss":[{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","level":"high"}],"cwes":["CWE-74","CWE-79"],"updated_at":"2026-11-02T14:37:03.916765Z"}],"nvd":[{"id":"CVE-2020-7749","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.","status":"published","published":"2020-10-20T11:15:12.66Z","modified":"2026-06-17T03:25:22.653Z","cvss":[{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","level":"high","assessor":"secondary"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-74","CWE-79"],"updated_at":"2026-11-02T14:06:20.704992Z"}],"osv":[{"id":"GHSA-pxcf-v868-m492","title":"Injection and Cross-site Scripting in osm-static-maps","description":"This affects all versions of package osm-static-maps under 3.9.0. 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.","status":"published","published":"2021-05-10T18:43:45Z","modified":"2026-03-13T21:56:43.817515Z","cvss":[{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","level":"high"}],"cwes":["CWE-74","CWE-79"],"updated_at":"2026-11-02T15:46:53.700556Z"}]}}
