Skip to main content

LAN Management System CVE-2026-40457

| EUVDEUVD-2026-37876 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-06-18 CERT-PL GHSA-3vrh-xvg4-68rm
2.1
CVSS 4.0 · Vendor: CERT-PL

Severity by source

Vendor (CERT-PL) PRIMARY
2.1 LOW
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
6.1 MEDIUM

Attacker requires no authentication (PR:N), but victim must actively click a crafted link (UI:R); JavaScript executes in victim's browser scope (S:C) with low C/I impact and no server-side availability effect.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (CERT-PL).

CVSS VectorVendor: CERT-PL

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
A
Scope
X

Lifecycle Timeline

2
Source Code Evidence Fetched
Jun 18, 2026 - 12:35 vuln.today
Analysis Generated
Jun 18, 2026 - 12:35 vuln.today

DescriptionCVE.org

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.

AnalysisAI

Reflected XSS in LAN Management System (LMS) before commit 9c5651b allows network-positioned attackers to inject arbitrary JavaScript into the browsers of authenticated LMS users by crafting malicious links targeting the dbrecover.php and netremap.php modules. The db, id, and mapto GET parameters were directly concatenated into HTML anchor elements without sanitization, as confirmed by the upstream commit diff. No public exploit has been identified at time of analysis, exploitation is not confirmed in CISA KEV, and the CVSS 4.0 score of 2.1 reflects genuinely constrained impact due to the required victim interaction and specific attack preconditions.

Technical ContextAI

LMS is a PHP-based LAN Management System primarily used by ISPs and network operators to manage network resources, IP assignments, and subscriber data. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-Site Scripting): two PHP modules, dbrecover.php and netremap.php, directly interpolated unsanitized GET parameters into HTML <A href> anchor tags. Specifically, $_GET['db'] in dbrecover.php and $_GET['id']/$_GET['mapto'] in netremap.php were string-concatenated into the href attribute value with no escaping. The commit diff at 9c5651b confirms the fix: PHP's htmlspecialchars() was applied to each parameter, converting special characters to HTML entities and neutralizing injection. The CPE cpe:2.3:a:lms:lms:*:*:*:*:*:*:*:* with a wildcard version indicates the vulnerability spans the full version history prior to the patched commit.

RemediationAI

Apply the upstream fix by updating LMS to a build incorporating commit 9c5651b (https://github.com/chilek/lms/commit/9c5651b39bfd086cc34fc9a78ddaa8c0815af114), which adds htmlspecialchars() escaping to all affected GET parameters in both dbrecover.php and netremap.php. Because the fix is delivered as a commit rather than a tagged release, operators should verify via https://lms.org.pl/ or the project's release history whether a packaged release incorporating this commit has been published - the patch is upstream fix available (commit); a released patched version is not independently confirmed from available data. If immediate patching is not possible, restrict HTTP access to the dbrecover.php and netremap.php modules via web server ACLs or firewall rules limiting requests to trusted administrator IP ranges only; this eliminates the social-engineering attack vector but removes remote admin access to these modules. Refer to the CERT-PL advisory at https://cert.pl/posts/2026/06/CVE-2026-40455 for any additional vendor-specific remediation guidance.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

Share

CVE-2026-40457 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy