Vulnerability · Published Oct 20, 2020 · Assigned by snyk

CVE-2020-7749Server-side Request Forgery (SSRF)

High 7.6

In plain English

A high-severity security flaw in osm-static-maps. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.6High
Exploit odds (30 days)1.6%top 24.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npmosm-static-maps3.9.0GHSA-pxcf-v868-m492

Affected products (as reported)

VendorProductVersions
n/a osm-static-maps 0 – before unspecified

References