CVE-2020-7749 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/jperelli/osm-static-maps/blob/master/src/template.html%23L142 | CVE | Broken Link |
| https://github.com/jperelli/osm-static-maps/pull/24 | CVE | PatchThird Party Advisory |
| https://snyk.io/vuln/SNYK-JS-OSMSTATICMAPS-609637 | CVE | ExploitThird Party Advisory |
| https://github.com/jperelli/osm-static-maps/blob/master/src/template.html%23L142 | [email protected] | Broken Link |
| https://github.com/jperelli/osm-static-maps/pull/24 | [email protected] | PatchThird Party Advisory |
| https://snyk.io/vuln/SNYK-JS-OSMSTATICMAPS-609637 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| osm-static-maps project osm-static-maps | All versions |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jul 21, 2021 | CWE Remap | [email protected] |
| Dec 2, 2020 | Reanalysis | [email protected] |
| Oct 30, 2020 | Initial Analysis | [email protected] |