Skip to main content

LibreNMS CVE-2025-62412

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-10-16 security-advisories@github.com
4.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as privileged LibreNMS user
  2. Delivery
    Inject HTML/JS into alert rule name
  3. Exploit
    Bypass strip_tags via XML entities
  4. Execution
    Victim admin opens Alert Rules page
  5. Impact
    Payload executes in victim browser

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

Exploitation requires an authenticated LibreNMS account with privileges to create or edit alert rules (CVSS PR:H, i.e. an administrator), who submits a malicious rule name via POST to /ajax_form.php on the Alerts > Alert Rules page. The server-side strip_tags() filter must be bypassed, which the advisory shows is possible using XML character references (e.g. &lt;script>alert(1)&lt;/script>). The payload is stored and only fires when a victim user subsequently loads the Alert Rules page (UI:R - requires victim interaction). Limiting factors: high privilege needed to inject, victim must browse the vulnerable page, and only versions <= 25.8.0 are affected (patched in 25.10.0). These constraints make the practical attacker a malicious or compromised privileged user targeting another admin, not an unauthenticated remote attacker.

Impact

This is a genuinely low-priority issue despite being a network-facing XSS. The CVSS base score is only 4.8 (NVD) / 4.3 (vendor GHSA), firmly in the Medium band, and every independent signal reinforces low urgency: EPSS is 0.28% (19th percentile), and the flaw is NOT in CISA KEV (no confirmed active exploitation). The most decisive factor is PR:H - the attacker must already be an authenticated, high-privileged LibreNMS user (one able to create/manage alert rules, effectively an admin) to inject the payload, which sharply limits the escalation value since such a user already holds broad control over the monitoring platform; the realistic threat is one privileged user attacking another admin's session, not an external attacker. A public POC does exist (Trend Micro ZDI, ZDI-CAN-28105, with a downloadable POC file), so 'publicly available exploit code exists' - but POC availability is distinct from active exploitation, and no exploitation in the wild is confirmed. Note a data conflict to verify: NVD scores the vector as S:C/A:N (4.8) while the vendor GHSA advisory uses S:U/C:L/I:L/A:L (4.3) - the scope-change and availability-impact metrics disagree between the two sources. Net: a real but low-severity, high-privilege-gated stored XSS; patch in routine cycles, not an emergency.

Exploit ScenarioDerived

A privileged LibreNMS user with alert-rule management rights navigates to Alerts > Alert Rules and creates a rule whose name contains an HTML/JavaScript payload, submitted via a POST to /ajax_form.php; the server's strip_tags() sanitization is bypassed using XML character references. When another administrator later opens the Alert Rules page, the stored payload executes in their browser session. A public POC from Trend Micro's Zero Day Initiative (ZDI-CAN-28105) is available.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 19, 2026

Stored cross-site scripting in LibreNMS alert rule names allows an authenticated administrator with alert-rule management privileges to inject HTML that executes in another administrator's browser when the Alerts > Alert Rules page is viewed, affecting versions through 25.8.0 and fixed in 25.10.0. Publicly available exploit code exists, but EPSS is low at 0.28% (19th percentile) and no CISA KEV confirmation is provided.

RemediationAI

Upgrade LibreNMS to 25.10.0 or later; the vendor-released patch is 25.10.0, and the upstream fix is commit dccdf6769976a974d70f06a7ce8d5a846b29db6f, with details at https://github.com/librenms/librenms/security/advisories/GHSA-6g2v-66ch-6xmh. If immediate upgrade is not possible, restrict alert-rule creation and editing to a minimal set of trusted administrator accounts, since the injection requires PR:H privileges; this reduces exposure but does not fix the stored XSS. Review existing alert rule names for HTML or encoded XML character references and remove suspicious entries, noting that this only cleans known payloads. Consider temporarily limiting access to the Alerts > Alert Rules page or placing administrative interfaces behind strict network access controls, with the trade-off of reduced monitoring administration convenience.

Affected Packages

composer librenms/librenms fix: 25.10.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in composer

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The issue is CWE-79 cross-site scripting in a PHP-based network monitoring application. LibreNMS stores alert rule definitions, including the user-supplied name, in its database. The vulnerable flow accepts the name field via POST to /ajax_form.php; although includes/html/forms/alert-rules.inc.php calls strip_tags(), the advisory shows that XML character references such as &lt;script>alert(1)&lt;/script> can bypass that filter. The stored value is later rendered in includes/html/modal/alert_rule_list.inc.php without output encoding, and the fix replaces raw output with e($rule['name']) and e($rule_display). Exploitation requires PR:H credentials to create or edit rules and UI:R victim interaction, so the practical attacker is a malicious or compromised privileged user targeting another administrator; it is not an unauthenticated remote attack. The supplied CPE cpe:2.3:a:librenms:librenms:*:*:*:*:*:*:*:* is broad, while the advisory and package data constrain affected versions to <=25.8.0.

Know when Librenms 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

NVD PRIMARY 4.8 MEDIUM
AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 4.8 MEDIUM

Injection requires alert-rule management rights so PR:H; victim must view the page (UI:R); stored script runs in another user's browser (S:C) with limited C/I and no availability impact.

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

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionNVD

LibreNMS is a community-based GPL-licensed network monitoring system. The alert rule name in the Alerts > Alert Rules page is not properly sanitized, and can be used to inject HTML code. This vulnerability is fixed in 25.10.0.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Medium
popular open-source network monitoring tool, moderate IT-ops footprint
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Affected Products (CPE)NVD

cpe:2.3:a:librenms:librenms:*:*:*:*:*:*:*:*
CVE-2019-10669 HIGH POC
7.2 Sep 09

An issue was discovered in LibreNMS through 1.47. Rated high severity (CVSS 7.2), this vulnerability is remotely exploit

CVE-2021-44278 CRITICAL POC
9.8 Dec 03

Librenms 21.11.0 is affected by a path manipulation vulnerability in includes/html/pages/device/showconfig.inc.php. Rate

CVE-2019-10665 CRITICAL POC
9.8 Sep 09

An issue was discovered in LibreNMS through 1.47. Rated critical severity (CVSS 9.8), this vulnerability is remotely exp

CVE-2026-86426 CRITICAL POC
9.2 Sep 07

Authentication bypass in the LibreNMS REST API (all versions before 26.8.0) lets unauthenticated remote attackers reach

CVE-2026-26988 CRITICAL POC
9.1 Feb 20

SQL injection in LibreNMS 25.12.0 and below. PoC and patch available.

CVE-2019-10668 CRITICAL POC
9.1 Sep 09

An issue was discovered in LibreNMS through 1.47. Rated critical severity (CVSS 9.1), this vulnerability is remotely exp

CVE-2026-26990 HIGH POC
8.8 Feb 20

SQL injection in LibreNMS versions 25.12.0 and below allows authenticated users to extract sensitive database informatio

CVE-2024-32461 HIGH POC
8.8 Apr 22

LibreNMS is an open-source, PHP/MySQL/SNMP-based network monitoring system. Rated high severity (CVSS 8.8), this vulnera

CVE-2020-15877 HIGH POC
8.8 Jul 21

An issue was discovered in LibreNMS before 1.65.1. Rated high severity (CVSS 8.8), this vulnerability is remotely exploi

CVE-2019-12463 HIGH POC
8.8 Sep 09

An issue was discovered in LibreNMS 1.50.1. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable,

CVE-2019-10671 HIGH POC
8.8 Sep 09

An issue was discovered in LibreNMS through 1.47. Rated high severity (CVSS 8.8), this vulnerability is remotely exploit

CVE-2026-80214 HIGH POC
8.6 Aug 26

Command injection in LibreNMS's Virtualization Discovery module enables authenticated administrator-level users to execu

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