CVE-2020-7749 json
Server-side Request Forgery (SSRF)
published 6y ago modified 4mo ago also GHSA-pxcf-v868-m492 , EUVD-2021-1155
- cvss
- 7.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 75%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm osm-static-maps 3.9.0
- github.com/jperelli/osm-static-maps@97355d2 commit
- github.com/jperelli/osm-static-maps#24 pull request
Is CVE-2020-7749 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.60% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- snyk.io https://snyk.io/vuln/SNYK-JS-OSMSTATICMAPS-609637 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L/E:U/RL:O/RC:R |
| CNA | 3.1 | 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| GitHub | 3.1 | 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | osm-static-maps | <3.9.0 |
3.9.0 |
Affected products
- n/a osm-static-maps
Classification
References
-
github.com
/jperelli/osm-static-maps/pull/24
web, patch, third-party-advisory
-
github.com
/jperelli/osm-static-maps/commit/97355d29e08753d1cfe99b1281dbaa06f4e651b0
web
-
snyk.io
/vuln/SNYK-JS-OSMSTATICMAPS-609637
web, exploit, third-party-advisory
-
github.com
/jperelli/osm-static-maps/blob/master/src/template.html%23L142
web, broken-link
-
nvd.nist.gov
/vuln/detail/CVE-2020-7749
advisory
Sources
- CVE List CVE-2020-7749
- GitHub Advisory GHSA-pxcf-v868-m492
- NVD CVE-2020-7749
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.