CVE-2024-56361
PHP vulnerability analysis and mitigation

Overview

A stored cross-site scripting (XSS) vulnerability was identified in LGSL (Live Game Server List) before version 7.0.0. The vulnerability exists in the function lgsl_query_40 within lgsl_protocol.php, which implements an HTTP crawler. When making requests to registered game servers, the crawler processes responses from the /info endpoint without proper sanitization, allowing malicious JavaScript to be rendered on the info page through lgsl_details.php (GitHub Advisory).

Technical details

The vulnerability stems from improper sanitization of user input in the lgsl_query_40 function. When the function makes requests to registered game servers and processes responses from the /info endpoint, the received data is not properly sanitized before being displayed via lgsl_details.php. The CVSS v4.0 base score for this vulnerability is 5.3 (Medium), with the vector string CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N (NVD).

Impact

When successfully exploited, this vulnerability allows attackers to inject and execute malicious JavaScript code that will affect all users who access the affected page. The stored nature of the XSS means that the malicious payload persists on the server and is served to any user viewing the compromised page (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in version 7.0.0 by implementing output encoding via htmlentities. The fix includes proper sanitization of user input using htmlentities() with ENT_QUOTES and UTF-8 encoding (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23492HIGH8.8
  • PHPPHP
  • pimcore/pimcore
NoYesJan 14, 2026
CVE-2026-23498HIGH7.2
  • PHPPHP
  • shopware/core
NoYesJan 14, 2026
GHSA-595p-g7xc-c333MEDIUM6.9
  • PHPPHP
  • algolia/algoliasearch-magento-2
NoYesJan 14, 2026
CVE-2022-50807MEDIUM6.9
  • PHPPHP
  • concrete5/concrete5
NoNoJan 13, 2026
CVE-2026-0859MEDIUM5.2
  • PHPPHP
  • typo3/cms-core
NoYesJan 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management