Live threats

All CVEs / Osm-static-maps Project

CVE-2020-7749Osm-static-maps Project Osm-static-maps

High 7.6

Priority
46
CVSS 3.1
7.6
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
Yes
Published
Oct 20, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-74, CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Osm-static-maps.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm osm-static-maps < 3.9.0 3.9.0 npm install osm-static-maps@3.9.0

Per OSV / GitHub Advisories (GHSA-pxcf-v868-m492). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
osm-static-maps_projectosm-static-mapsall

Official sources

References

Links published by the sources. Open them with care.