CVE-2020-7749

Summary

CVECVE-2020-7749
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2020-10-20 11:15:00 UTC
Updated2021-07-21 11:39:00 UTC
DescriptionThis 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.

Risk And Classification

Problem Types: CWE-79 | CWE-74

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Osm-static-maps Project Osm-static-maps All All All All
Application Osm-static-maps Project Osm-static-maps All All All All

References

ReferenceSourceLinkTags
Server-side Request Forgery (SSRF) in osm-static-maps | Snyk MISC snyk.io Exploit, Third Party Advisory
fix: escape special characters before insertion to template by snoopysecurity · Pull Request #24 · jperelli/osm-static-maps · GitHub MISC github.com Patch, Third Party Advisory
github.com/jperelli/osm-static-maps/blob/master/src/template.html%23L142 MISC github.com Broken Link
osm-static-maps/template.html at master · jperelli/osm-static-maps · GitHub MITRE github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

LEGACY: Vasilii Ermilov

Legacy QID Mappings

  • 981834 Nodejs (npm) Security Update for osm-static-maps (GHSA-pxcf-v868-m492)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report