CVE-2020-15500 Cross-site scripting in TileServer GL
Reflected XSS in TileServer GL allows attackers to execute arbitrary scripts in victim browsers via the key GET parameter.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2020-15500?
CVE-2020-15500 is a medium-severity cross-site scripting vulnerability in n/a, published on 1 Jul 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
An issue was discovered in server.js in TileServer GL through 3.0.0. The content of the key GET parameter is reflected unsanitized in an HTTP response for the application's main page, causing reflected XSS.
Weakness: CWE-79
Which versions are affected by CVE-2020-15500?
2 open source packages ship an affected version, including tileserver-gl. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
tileserver-gl npm | All versions | 3.1.0 |
tileserver-gl npm | All versions | 3.1.0 |
Products include Tileserver Tileservergl.
How do I fix CVE-2020-15500?
Upgrade tileserver-gl to 3.1.0 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2020-15500 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-15500 exists.
Public exploit code: 1 Exploit-DB entry and 1 Nuclei template.
Sources
Also known as GHSA-3fr8-mwpp-8h9p.