XSS in Osm-Static-Maps Project
CVE-2020-7749
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L.
EPSS exploit prediction
EPSS: 0.016 (74.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 75th percentile — 74.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.016 · newest: 0.016 · change: 0.000
Affected products
- Osm-Static-Maps Project
- Osm-Static-Maps — versions 0
Weakness classification (CWE)
References
- snyk.io/vuln/SNYK-JS-OSMSTATICMAPS-609637 (Exploit, Third Party Advisory)
- github.com/jperelli/osm-static-maps/blob/master/src/template.html#L142 (Broken Link)
- github.com/jperelli/osm-static-maps/pull/24 (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2020-7749?
- CVE-2020-7749 is a high-severity vulnerability in Osm-Static-Maps Project, classified under Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection). CVSS score: 7.6/10. Published 2020-10-20.
- How severe is CVE-2020-7749?
- High severity. CVSS v3 base score is 7.6 out of 10.