GIVE YOUR AGENT THE EVIDENCE

Set up in your agent.

One prompt to get started. Paste it into your coding agent to connect cve.new through MCP and bring vulnerability context into your workflow.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

GIVE YOUR AGENT THE EVIDENCE

Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

GHSA-ggwq-xc72-33r3medium5.3

LGSL has a reflected XSS at /lgsl_files/lgsl_list.php

Check your stack

The advisory, in context

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:

  1. Capture a request to the path /lgsl_files/lgsl_list.php.
  2. Inject the following payload into the Referer header: test'><script>alert(1)</script><.
  3. Send the request.
  4. The XSS payload is triggered when reloading. image image

Impact:

Execution of Malicious Code

Affected packages

Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.

tltneon/lgsl Packagist
Ecosystem versions

Earlier releases through 6.2.1 (inclusive)

No fix recorded for this interval.

10 explicitly affected versions

v5.10.0, v5.10.1, v5.10.2, v5.10.3, v6.0.0, v6.0.1, v6.1.0, v6.1.1, v6.2.0, v6.2.1

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "0"
        },
        {
          "last_affected": "6.2.1"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "v5.10.0",
    "v5.10.1",
    "v5.10.2",
    "v5.10.3",
    "v6.0.0",
    "v6.0.1",
    "v6.1.0",
    "v6.1.1",
    "v6.2.0",
    "v6.2.1"
  ]
}

References