{"id":"CVE-2020-7749","published":"2020-10-20T10:25:26Z","modified":"2024-09-16T16:28:47Z","title":"Server-side Request Forgery (SSRF)","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.6,"severity":"HIGH","version":"3.1","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.016,"percentile":0.76391,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-OSMSTATICMAPS-609637","tags":["x_refsource_MISC"]},{"url":"https://github.com/jperelli/osm-static-maps/blob/master/src/template.html%23L142","tags":["x_refsource_MISC"]},{"url":"https://github.com/jperelli/osm-static-maps/pull/24","tags":["x_refsource_MISC"]}],"priority":{"score":20.6,"factors":[{"name":"EPSS percentile","points":15.28},{"name":"CVSS severity","points":5.32}]},"affectedVersions":[{"vendor":"n/a","product":"osm-static-maps","versions":["< unspecified"]}],"affected":[{"ecosystem":"npm","package":"osm-static-maps","vulnerableRanges":["<3.9.0"],"patched":["3.9.0"],"from":["GHSA-pxcf-v868-m492"],"provenance":"source"}],"summary":{"text":"The osm-static-maps npm package, which renders map images, passes user input unescaped into a template (triple-brace syntax), letting an attacker inject arbitrary HTML and JavaScript. An attacker able to supply input to the package can use this for cross-site scripting in the browser or, where the markup is rendered server-side via Puppeteer, for server-side request forgery and local file read.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:14:07Z"},"euvd":{"id":"EUVD-2021-1155","exploited":false,"provenance":"source"}}