logo

CVE-2020-7749 osm-static-maps

Package

Manager: npm
Name: osm-static-maps
Vulnerable Version: >=0 <=3.9.0

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N

EPSS: 0.00477 pctl0.63976

Details

Injection and Cross-site Scripting in osm-static-maps This affects all versions of package osm-static-maps under 3.9.0. 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.

Metadata

Created: 2021-05-10T18:43:45Z
Modified: 2023-09-11T20:22:40Z
Source: MANUAL
CWE IDs: ["CWE-74", "CWE-79"]
Alternative ID: GHSA-pxcf-v868-m492
Finding: F425
Auto approve: 1