Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
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 applicationsLearn about Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerabilities in an interactive lesson.
Start learningUpgrade tileserver-gl
to version 4.5.0 or higher.
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.
http://localhost:8080/styles/basic-preview/?key=l5uof%27-alert(1)-%27t0shv#0.89/0/0