Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') Affecting org.webjars.npm:tileserver-gl package, versions [0,]
Threat Intelligence
Exploit Maturity
Proof of concept
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JAVA-ORGWEBJARSNPM-7116700
- published 5 Jun 2024
- disclosed 22 May 2024
- credit Unknown
Introduced: 22 May 2024
CVE-2024-35627 Open this link in a new tabHow to fix?
A fix was pushed into the master
branch but not yet published.
Overview
org.webjars.npm:tileserver-gl is a Map tile server for JSON GL styles - vector and server side generated raster tiles
Affected versions of this package are vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') through the key
parameter due to improper input sanitization. An attacker can execute arbitrary scripts in the context of the user's browser by injecting malicious code.
PoC
http://localhost:8080/styles/basic-preview/?key=l5uof%27-alert(1)-%27t0shv#0.89/0/0
CVSS Scores
version 3.1