{"answers":{"affected":"2 open source packages ship an affected version, including tltneon/lgsl.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-56517 exists.","fix":"No fix has been published for CVE-2024-56517 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-56517 is a medium-severity cross-site scripting vulnerability in tltneon lgsl, published on 30 Dec 2024. 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-2024-56517 and fix it if it is affected.\n\nWhat it is: CVE-2024-56517 is a medium-severity cross-site scripting vulnerability in tltneon lgsl, published on 30 Dec 2024. 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-2024-56517 exists.\n\nAffected packages and fixed versions:\n- tltneon/lgsl (Packagist): affected all versions up to 6.2.1; no fix listed\n- tltneon/lgsl (Packagist): affected all versions up to 6.2.1; no fix listed\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-2024-56517/ (Markdown: https://insights.sbomify.com/CVE-2024-56517/index.md)","id":"CVE-2024-56517","markdown":"https://insights.sbomify.com/CVE-2024-56517/index.md","name":"CVE-2024-56517","record":{"aliases":["GHSA-ggwq-xc72-33r3"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Game server list","requires_auth":"none","summary":"Attackers can inject arbitrary JavaScript via the Referer header in LGSL, leading to reflected XSS and potential code execution in victim browsers.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"LGSL (Live Game Server List) provides online status lists for online video games. Versions up to and including 6.2.1 contain a reflected cross-site scripting vulnerability in the `Referer` HTTP header. The vulnerability allows attackers to inject arbitrary JavaScript code, which is reflected in the HTML response without proper sanitization. When crafted malicious input is provided in the `Referer` header, it is echoed back into an HTML attribute in the application’s response. Commit 7ecb839df9358d21f64cdbff5b2536af25a77de1 contains a patch for the issue.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"LGSL has a reflected XSS at /lgsl_files/lgsl_list.php","id":"CVE-2024-56517","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2024"},"n_packages":2,"n_references":3,"next":{"headline":"Code injection in n/a","id":"CVE-2024-56518"},"packages":[{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["6.2.1"],"package":"tltneon/lgsl","purl":null,"source":"GHSA-ggwq-xc72-33r3"},{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["6.2.1"],"package":"tltneon/lgsl","purl":"pkg:composer/tltneon/lgsl","source":"GHSA-ggwq-xc72-33r3"}],"prev":{"headline":"free-one-api uses md5 for password storage","id":"CVE-2024-56516"},"products":["lgsl"],"published":"2024-12-30","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-12-30","vendors":["tltneon"]},"summary":"Attackers can inject arbitrary JavaScript via the Referer header in LGSL, leading to reflected XSS and potential code execution in victim browsers.","url":"https://insights.sbomify.com/CVE-2024-56517/"}