CVE-2020-7749
As such, it is possible for an attacker to inject arbitrary HTML/JS code and depending on the context.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.60%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.1
- 7.6 HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
- EPSS
- 1.60% probability · 74th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-74, CWE-79
- Affected
- osm-static-maps project/osm-static-maps
- Source
- report@snyk.io
References
- https://github.com/jperelli/osm-static-maps/blob/master/src/template.html%23L142Broken Link
- https://github.com/jperelli/osm-static-maps/pull/24Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-OSMSTATICMAPS-609637Exploit, Third Party Advisory
- https://github.com/jperelli/osm-static-maps/blob/master/src/template.html%23L142Broken Link
- https://github.com/jperelli/osm-static-maps/pull/24Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-OSMSTATICMAPS-609637Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.