CVE-2020-7749
Last modified
CVE-2020-7749 is a high-severity vulnerability rated 7.6/10 on the CVSS scale. This affects all versions of package osm-static-maps. User input given to the package is passed directly to a template without escaping ({{{ ... EPSS estimates a 1.58% chance of exploitation in the next 30 days.
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:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Osm-Static-Maps Project | Osm-Static-Maps | All versions |
References
- https://github.com/jperelli/osm-static-maps/pull/24Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-OSMSTATICMAPS-609637Exploit, Third Party Advisory
- https://github.com/jperelli/osm-static-maps/pull/24Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-OSMSTATICMAPS-609637Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-7749?
How severe is CVE-2020-7749?
How do I fix CVE-2020-7749?
Are you affected by CVE-2020-7749?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
