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.
References
Link | Resource |
---|---|
https://github.com/jperelli/osm-static-maps/blob/master/src/template.html%23L142 | Broken Link |
https://github.com/jperelli/osm-static-maps/pull/24 | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-OSMSTATICMAPS-609637 | Exploit Third Party Advisory |
https://github.com/jperelli/osm-static-maps/blob/master/src/template.html%23L142 | Broken Link |
https://github.com/jperelli/osm-static-maps/pull/24 | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-OSMSTATICMAPS-609637 | Exploit Third Party Advisory |
Configurations
History
21 Nov 2024, 05:37
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/jperelli/osm-static-maps/blob/master/src/template.html%23L142 - Broken Link | |
References | () https://github.com/jperelli/osm-static-maps/pull/24 - Patch, Third Party Advisory | |
References | () https://snyk.io/vuln/SNYK-JS-OSMSTATICMAPS-609637 - Exploit, Third Party Advisory |
Information
Published : 2020-10-20 11:15
Updated : 2024-11-21 05:37
NVD link : CVE-2020-7749
Mitre link : CVE-2020-7749
CVE.ORG link : CVE-2020-7749
JSON object : View
Products Affected
osm-static-maps_project
- osm-static-maps