cve/2020/CVE-2020-7749.md

19 lines
1008 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2020-7749](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7749)
![](https://img.shields.io/static/v1?label=Product&message=osm-static-maps&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3E%3D%200%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Server-side%20Request%20Forgery%20(SSRF)&color=brighgreen)
### 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.
### POC
#### Reference
- https://snyk.io/vuln/SNYK-JS-OSMSTATICMAPS-609637
2024-06-09 00:33:16 +00:00
- https://snyk.io/vuln/SNYK-JS-OSMSTATICMAPS-609637
2024-05-25 21:48:12 +02:00
#### Github
No PoCs found on GitHub currently.