{"answers":{"affected":"2 open source packages ship an affected version, including tileserver-gl. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-15500 exists.","fix":"Upgrade tileserver-gl to 3.1.0 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2020-15500 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-15500 exists.\n\nAffected packages and fixed versions:\n- tileserver-gl (npm): affected all versions; fixed in 3.1.0\n- tileserver-gl (npm): affected all versions; fixed in 3.1.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2020-15500/ (Markdown: https://insights.sbomify.com/CVE-2020-15500/index.md)","id":"CVE-2020-15500","markdown":"https://insights.sbomify.com/CVE-2020-15500/index.md","name":"CVE-2020-15500","record":{"aliases":["GHSA-3fr8-mwpp-8h9p"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"TileServer GL","requires_auth":"none","summary":"Reflected XSS in TileServer GL allows attackers to execute arbitrary scripts in victim browsers via the key GET parameter.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"tileservergl","vendor":"tileserver"}],"cvss":{"score":6.1,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":1,"first_seen":"2021-04-15","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":"2021-04-15","kind":"exploitdb","ref":"49771","stars":null,"title":"Tileserver-gl 3.0.0 - 'key' Reflected Cross-Site Scripting (XSS)"},{"date":null,"kind":"nuclei","ref":"http/cves/2020/CVE-2020-15500.yaml","stars":null,"title":"TileServer GL \u003c=3.0.0 - Cross-Site Scripting"}],"tier":"weaponised"},"has_fix":true,"headline":"Cross-site scripting in TileServer GL","id":"CVE-2020-15500","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"xss","year":"2020"},"n_packages":2,"n_references":2,"next":{"headline":"Security feature bypass in n/a","id":"CVE-2020-15501"},"packages":[{"ecosystem":"npm","fixed":["3.1.0"],"introduced":["0"],"last_affected":[],"package":"tileserver-gl","purl":null,"source":"GHSA-3fr8-mwpp-8h9p"},{"ecosystem":"npm","fixed":["3.1.0"],"introduced":["0"],"last_affected":[],"package":"tileserver-gl","purl":"pkg:npm/tileserver-gl","source":"GHSA-3fr8-mwpp-8h9p"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2020-15499"},"products":["n/a"],"published":"2020-07-01","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Reflected XSS in TileServer GL allows attackers to execute arbitrary scripts in victim browsers via the key GET parameter.","url":"https://insights.sbomify.com/CVE-2020-15500/"}