CVE-2024-56517: LGSL Package Reflected XSS Vulnerability in lgsl_list.php

tltneon/lgsl Updated 14 Dec 2025

Summary

30/12/2024
No i
Moderate
5.3

CVE-2024-56517: LGSL has a reflected XSS at /lgsl_files/lgsl_list.php. Affects tltneon/lgsl versions < 6.2.1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The LGSL (Game Server List) package, version 6.2.1, is a PHP-based tool designed to provide a comprehensive list of game servers and their statuses. It allows users to monitor and manage game servers efficiently. However, this package is vulnerable to a reflected Cross-Site Scripting (XSS) attack, which can compromise the security of applications utilizing this package.

Vulnerability Detail

A reflected XSS vulnerability exists in the 'Referer' HTTP header of LGSL v6.2.1. This vulnerability allows attackers to inject arbitrary JavaScript code that is reflected in the HTML response without proper sanitization. When a crafted malicious input is provided in the 'Referer' header, it is echoed back into an HTML attribute in the application’s response, leading to potential execution of malicious scripts in the user's browser.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, you can implement input validation and sanitization for the 'Referer' header in your application to prevent the execution of malicious scripts. For example, you can modify the code to check for valid input before processing the 'Referer' header.

Conclusion

The LGSL package version 6.2.1 is vulnerable to a reflected XSS attack due to improper handling of the 'Referer' HTTP header. It is crucial to update the package to a patched version to protect against potential exploitation. Implementing input validation can serve as a temporary measure until an update can be applied.

See every vulnerability recorded for tltneon/lgsl →

Share this vulnerability

FAQ

A reflected XSS vulnerability allows an attacker to inject malicious scripts into a web application, which are then executed in the user's browser when they visit a crafted URL.

You can use Vulert, a tool that monitors open-source vulnerabilities in your software. By uploading your composer.lock file to Vulert's playground, you can check if your application is affected by this vulnerability.

The potential impacts include unauthorized access to sensitive information, session hijacking, and the execution of malicious actions on behalf of the user.

Yes, a patch is available. Updating the LGSL package to a version later than 6.2.1 will resolve this vulnerability.

If an immediate update is not possible, implement input validation and sanitization for the 'Referer' header as a temporary workaround to mitigate the risk.

Related vulnerabilities

Recent vulnerabilities recorded for tltneon/lgsl.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback