# CVE-2026-40457: Reflected XSS in LMS

- Severity: Low 2.1 (CVSS:4.0, scored by CERT-PL) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2026-06-18T10:58:53.193Z
- Modified: 2026-06-22T17:49:19.053Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: CERT-PL

## Description

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.

(As written by CVE List.)

## Affected

- LMS LMS: before 9c5651b

## References

- <https://github.com/chilek/lms/commit/9c5651b39bfd086cc34fc9a78ddaa8c0815af114> (patch)
- <https://cert.pl/posts/2026/06/CVE-2026-40455> (third-party-advisory)
- <https://lms.org.pl/> (product)

## Sources

- CVE List: [CVE-2026-40457](https://www.cve.org/CVERecord?id=CVE-2026-40457), CVE Terms of Use, modified 2026-06-18
- NVD: [CVE-2026-40457](https://nvd.nist.gov/vuln/detail/CVE-2026-40457), Public domain, modified 2026-06-22

---

Page: https://cve.day/CVE-2026-40457 · Whole record: https://cve.day/CVE-2026-40457.json · Rebuilt by cve.day 2026-11-25T22:59:25.124Z
