Vulnerability

CVE-2020-7749

highCVSS 3.1 7.6Published 20 Oct 2020

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Osm Static Maps Project osm-static-maps

Weakness type

References

  • github.com /jperelli/osm-static-maps/blob/master/src/template.html%23L…
  • github.com /jperelli/osm-static-maps/pull/24
  • snyk.io /vuln/SNYK-JS-OSMSTATICMAPS-609637

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning