Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Unrated

Reflected XSS in LMS dbrecover.php and netremap.php

IdentifiersCVE-2026-40457CWE-79

CVE-2026-40457 is a reflected cross-site scripting vulnerability in LMS (LAN Management System) affecting versions before commit 9c5651b. The issue is present in the dbrecover.php and netremap.php modules, where unsanitized GET parameters are directly embedded into HTML output. Because attacker-controlled input is reflected back into the response without proper output encoding or sanitization, an attacker can craft a malicious URL that causes arbitrary JavaScript to execute in the victim's browser when opened by an authenticated user. The available reporting also notes that exploitation may depend on application state, such as a network being defined in the system.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows arbitrary JavaScript execution in the browser session of an authenticated LMS user who clicks a crafted link. This can enable theft of session data, execution of actions in the victim's context within the application, access to data visible to that user, and other browser-based post-exploitation effects typical of reflected XSS.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, reduce exposure by restricting access to LMS to trusted users and networks, monitoring for suspicious crafted URLs targeting dbrecover.php and netremap.php, and applying temporary code changes or WAF rules to block or sanitize malicious input to the affected GET parameters. User awareness can also reduce risk by discouraging authenticated users from opening unsolicited LMS links. These are temporary measures and do not replace patching.

Remediation

Patch, then assume compromise.

Update LMS to a version that includes commit 9c5651b or later, which fixes the vulnerable handling in dbrecover.php and netremap.php. In general, remediation should ensure that all user-controlled GET parameters reflected into HTML are properly validated and context-appropriately encoded before output.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
LmsLmsapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity

Community discussion across Reddit, Mastodon, and other social sources.