CVE-2026-26987

LibreNMS affected by reflected XSS via email field

Published Feb 20, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
LibreNMS is an auto-discovering PHP/MySQL/SNMP based network monitoring tool. Versions 25.12.0 and below are vulnerable to Reflected XSS attacks via email field. This issue has been fixed in version 26.2.0.

Analysis

AI-generated

Technical impact

LibreNMS, an auto‑discovering PHP/MySQL/SNMP based network monitoring tool, contains a reflected XSS flaw that can be triggered through the email field in forms and URLs. The vulnerability allows an attacker to inject arbitrary JavaScript that executes in the victim’s browser, potentially enabling session hijacking, credential theft, or defacement. The weakness is classified as CWE‑79 and is measured at a CVSS score of 5.3.

Affected Systems

All LibreNMS releases up to and including 25.12.0 are vulnerable. The issue was addressed in version 26.2.0, so any deployment with the main LibreNMS application before that release must consider an upgrade. Vendors listed under librenms:librenms are affected if their installed version is older than 26.2.0.

Risk and Exploitability

The CVSS rating of 5.3 indicates moderate severity, while the EPSS score of less than 1% points to a very low likelihood of active exploitation. The flaw is not recorded in the CISA Known Exploited Vulnerabilities catalog. Attackers would typically need to entice a user to visit a page containing a malicious email string or to post such a string into the application, meaning the vector is user‑based interaction with the web interface and does not require privileged credentials.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade LibreNMS to version 26.2.0 or later to remove the reflected XSS flaw.
  • If an upgrade is not immediately possible, modify the code to sanitize the email field before rendering, for example by applying htmlspecialchars or a stricter validation filter to strip scripts.
  • Deploy a Content Security Policy that disallows inline scripting or limits script sources to trusted origins, mitigating the impact of any remaining reflected script execution.

Generated by OpenCVE AI on April 17, 2026 at 17:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-gqx7-99jw-6fpr LibreNMS affected by reflected xss via email field
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:2.3:a:librenms:librenms:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

Type Values Removed Values Added
First Time appeared Librenms
Librenms librenms
Vendors & Products Librenms
Librenms librenms
Type Values Removed Values Added
Description LibreNMS is an auto-discovering PHP/MySQL/SNMP based network monitoring tool. Versions 25.12.0 and below are vulnerable to Reflected XSS attacks via email field. This issue has been fixed in version 26.2.0.
Title LibreNMS affected by reflected XSS via email field
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Feb 20, 2026, 3:35 PM
Reserved
Feb 17, 2026, 1:41 AM
Status
Analyzed
Published
Feb 20, 2026, 2:16 AM
Modified
Jun 17, 2026, 10:26 AM