LGSL has a reflected XSS at /lgsl_files/lgsl_list.php
Reflected XSS at /lgsl_files/lgsl_list.php
Description:
Vulnerability: A reflected XSS vulnerability exists in the Referer HTTP header of LGSL v6.2.1. 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.
The vulnerability is present at Line 20-24
$uri = $_SERVER['REQUEST_URI'];
if ($lgsl_config['preloader']) {
$uri = $_SERVER['HTTP_REFERER'];
}
Proof of Concept:
- Capture a request to the path
/lgsl_files/lgsl_list.php. - Inject the following payload into the Referer header:
test'><script>alert(1)</script><. - Send the request.
- The XSS payload is triggered when reloading.
Impact:
Execution of Malicious Code
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Paquete de Composer | tltneon/lgsl | <= 6.2.1 | sin corrección |
Referencias
- https://github.com/tltneon/lgsl/security/advisories/GHSA-ggwq-xc72-33r3
- https://nvd.nist.gov/vuln/detail/CVE-2024-56517
- https://github.com/tltneon/lgsl/commit/7ecb839df9358d21f64cdbff5b2536af25a77de1
- https://github.com/tltneon/lgsl
- https://github.com/tltneon/lgsl/blob/master/lgsl_files/lgsl_list.php#L20-L24
- Vector CVSS
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- Debilidad (CWE)
CWE-79- Plataforma
- Composer
- Paquete
tltneon/lgsl- Publicada
- 30.12.2024
- Actualizado
- 11.10.2026 10:22
Fuentes y licencias
OSV / GitHub Advisory Database - GHSA-ggwq-xc72-33r3 - CC BY 4.0
Historial de vulnerabilidades: tltneon/lgsl
Todas las vulnerabilidades publicadas de este paquete (Paquete de Composer), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 2
- Primera → última
- 12.2024 12.2024
- Sin corrección
- 1
- Explotada en ataques
- 0
Distribución por gravedad
- Alta 1
- Media 1
Divulgaciones por año
- 2024: 2
- 2025: 0
- 2026: 0
-
LGSL has a reflected XSS at /lgsl_files/lgsl_list.php esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.