Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify authenticated LMS administrator
-
DeliveryCraft malicious URL with XSS payload in db/id/mapto parameter
-
ExploitDeliver link via phishing or social engineering
-
InstallVictim clicks link while authenticated to LMS
-
C2Server reflects unsanitized parameter into HTML anchor
-
ExecuteArbitrary JavaScript executes in victim's browser session
-
ImpactExfiltrate session cookie or perform privileged LMS actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Three concurrent conditions must be satisfied: (1) The victim must be an authenticated LMS user with access to the |
| Impact | The CVSS 4.0 base score of 2.1 (AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N) accurately reflects a low-severity finding despite the network-facing vector. The AT:P metric (Attack Requirements: Present) is the most significant constraint - |
| Exploit ScenarioDerived | An attacker identifies an LMS administrator and crafts a phishing link embedding a JavaScript payload in the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 18, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Lms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
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.
Primary rating from Vendor (CERT-PL).
CVSS VectorVendor: CERT-PL
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
lms version <= LMS_011123 contains a Local File Disclosure vulnerability in File reading functionality in LMS module tha
Path traversal in Frappe Learning Management System (LMS) versions 2.50.0 and below allows authenticated users with cour
OS command injection in LMS (LAN Management System) before commit 9fcb4de allows authenticated adjacent attackers to exe
Error-based SQL injection in LMS (LAN Management System) before commit 4cb30a7 allows authenticated attackers to extract
Payment validation bypass in Frappe LMS 2.51.0 and earlier lets an authenticated user enroll in paid courses for free by
Reflected Cross-Site Scripting in the designthemes LMS WordPress theme (versions 9.7 and earlier) allows unauthenticated
Unauthenticated reflected cross-site scripting in the Designthemes LMS WordPress theme versions 8.3 and earlier allows r
Stored cross-site scripting (XSS) in Frappe Learning Management System versions 2.27.0 through 2.47.x allows unauthentic
SQL injection in Forma LMS up to and including version 4.1.43 allows an attacker with an authenticated session on the ad
Frappe Learning Management System versions prior to 2.46.0 allow authenticated students to modify their own quiz scores
Frappe Learning Management System (LMS) prior to 2.54.2 lets authenticated low-privileged users retrieve and view certif
Missing server-side authorization on quiz submission records in Frappe Learning Management System (LMS) lets an authenti
EUVD-2026-37876
GHSA-3vrh-xvg4-68rm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB