Skip to content
Heist/ feed
Back to feed
Low

Reflected XSS in LMS

Type: advisorySources: OSV

A Reflected Cross-Site Scripting (XSS) vulnerability exists in LMS (LAN Management System) before commit 9c5651b in the "dbrecover.php" and "netremap.php" modules where unsanitized GET parameters are directly embedded into HTML output. This allows an attacker to inject arbitrary JavaScript when an authenticated user clicks a crafted link, provided the required conditions (such as a network defined in the system) are met.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-40457
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 16:37 UTC · Revision 1

Source evidence

Reflected XSS in LMS

core-osv · Original source

Published 18 Jun 2026, 10:58 UTC

A Reflected Cross-Site Scripting (XSS) vulnerability exists in LMS (LAN Management System) before commit 9c5651b in the "dbrecover.php" and "netremap.php" modules where unsanitized GET parameters are directly embedded into HTML output. This allows an attacker to inject arbitrary JavaScript when an authenticated user clicks a crafted link, provided the required conditions (such as a network defined in the system) are met.

osv:CVE-2026-40457
Complete source record
{
  "id": "ad288802b92fa78db634045b1cecef86556123ca079cbf205458b11d0ee80bca",
  "url": "https://osv.dev/vulnerability/CVE-2026-40457",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Reflected XSS in LMS",
    "summary": "A Reflected Cross-Site Scripting (XSS) vulnerability exists in LMS (LAN Management System) before commit 9c5651b in the \"dbrecover.php\" and \"netremap.php\" modules where unsanitized GET parameters are directly embedded into HTML output. This allows an attacker to inject arbitrary JavaScript when an authenticated user clicks a crafted link, provided the required conditions (such as a network defined in the system) are met.",
    "evidence": "osv:CVE-2026-40457",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2026-40457",
      "aliases": [
        "CVE-2026-40457"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/chilek/lms",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9c5651b"
                },
                {
                  "fixed": "9c5651b39bfd086cc34fc9a78ddaa8c0815af114"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "9c5651b"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "9c5651b39bfd086cc34fc9a78ddaa8c0815af114"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "LMS_27",
            "LMS_25",
            "LMS_24",
            "LMS_011123",
            "LMS_011122",
            "LMS_011121",
            "LMS_011119",
            "LMS_011118",
            "LMS_011117",
            "LMS_011116",
            "LMS_011115",
            "LMS_011114",
            "X_Dira",
            "X_Aris",
            "X_Bray",
            "X_Kri",
            "LMS_011109",
            "LMS_011108",
            "LMS_011107",
            "LMS_011106",
            "LMS_011105",
            "LMS_011104",
            "LMS_011103",
            "LMS_011102",
            "X_Talus",
            "X_Thoth",
            "X_Idos",
            "LMS_010907",
            "X_Belos",
            "X_Tagar",
            "X_Mot",
            "X_Zarin",
            "X_Thanos",
            "X_Jumar",
            "LMS_010900",
            "X_Grannus",
            "X_Shaq'Ran",
            "X_Wraith",
            "LMS_010703",
            "X_Doci",
            "LMS_010701",
            "LMS_010700",
            "LMS_010506",
            "LMS_010505",
            "LMS_010504",
            "LMS_010503",
            "LMS_010502",
            "LMS_010501",
            "X_Marduk",
            "X_Osiris",
            "X_Ju",
            "X_Terok",
            "X_Sokar",
            "LMS_010302",
            "X_Kinsey",
            "X_Maybourne",
            "X_Apophis",
            "X_Cronos",
            "LMS_010107",
            "X_Seth",
            "LMS_010105",
            "LMS_010104",
            "OLD_FINANCES",
            "LMS_010103",
            "LMS_010102",
            "LMS_010101",
            "LMS_010100",
            "NO_LANGUAGE_SUPPORT",
            "multilanguage",
            "LMS_010000_rc1",
            "LMS_0100_pre10",
            "LMS_0100_pre9",
            "LMS_0100_pre8",
            "LMS_0100_pre7",
            "LMS_0100_pre6",
            "hunter-devel",
            "LMS_0100_pre5",
            "LMS_0100_pre4",
            "LMS_0100_pre3",
            "LMS_0100_pre2",
            "LMS_0100_pre1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40457.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.394065986Z",
      "provider": "osv",
      "references": [
        "https://lms.org.pl/",
        "https://cert.pl/posts/2026/06/CVE-2026-40455",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40457.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-40457",
        "https://github.com/chilek/lms/commit/9c5651b39bfd086cc34fc9a78ddaa8c0815af114",
        "https://github.com/chilek/lms"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "CERT-PL",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40457.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-40457",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504770,
  "published_at": "2026-06-18T10:58:53.193+00:00"
}