{"cve":"CVE-2020-7749","nvd":{"published":"2020-10-20T11:15:12.660","modified":"2026-06-17T03:25:22.653","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L","score":7.6},"cwes":["CWE-74","CWE-79"],"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"],"products":["osm-static-maps_project:osm-static-maps"],"source":"nvd","synced_at":"2026-10-19T21:09:53.489947993+00:00"},"epss":{"cve":"CVE-2020-7749","score":0.016,"percentile":0.75798,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-pxcf-v868-m492","url":"https://osv.dev/vulnerability/GHSA-pxcf-v868-m492","summary":"Injection and Cross-site Scripting in osm-static-maps","modified":"2026-03-13T21:56:43.817515Z","packages":[{"ecosystem":"npm","name":"osm-static-maps","purl":"pkg:npm/osm-static-maps","ranges":["<3.9.0"],"fixed":["3.9.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}