Skip to main content

LibreNMS CVE-2025-62365

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-10-13 security-advisories@github.com
5.5
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Craft URL injecting javascript: into project_issues
  2. Delivery
    Deliver crafted link to LibreNMS user
  3. Exploit
    Victim visits, report_this renders tainted href
  4. Execution
    Execute script in victim browser
  5. Impact
    Steal session cookie / hijack session

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

The report_this() function writes Config::get('project_issues') into an href attribute filtered only by htmlentities(), which encodes HTML entities but does NOT neutralize dangerous URL schemes such as javascript: or file:. Exploitation requires (1) the project_issues value to be attacker-influenced (per the GHSA PoC, project_issues=javascript:alert(document.cookie)) and (2) reaching one of the error paths that invoke report_this() - the device alerts, device logs, routing, search, or tools pages when given an unknown section/protocol/type. Limiting factors: a victim must visit the crafted page and activate the injected 'report this' link (user interaction required, contradicting the vendor vector's UI:N); impact is confined to the victim's browser session (session theft) with no server-side compromise; and the issue is fully remediated in version 25.7.0.

Impact

This is a moderate-severity reflected XSS (CVSS 4.0 base 5.5, CWE-79) that is a low-urgency patching item rather than an emergency. Signals are consistent and mostly point to low real-world risk: EPSS is 0.25% (15th percentile), the vulnerability is NOT on CISA KEV, and exploitation status is publicly available exploit code exists (the GHSA includes a working PoC) - but POC availability is distinct from active exploitation and there is no evidence of in-the-wild use. One notable conflict: the vendor-supplied CVSS 4.0 vector lists UI:N (no user interaction), which contradicts the reflected-XSS nature of the flaw - reflected XSS inherently requires a victim to visit or click an attacker-crafted request, so UI should realistically be Active; defenders should treat this as requiring victim interaction despite the vector. The vector also correctly models impact as confined to a subsequent system (SC:L/SI:L with VC/VI/VA:N), i.e. the victim's browser, not the LibreNMS server itself. Net: a real but bounded issue worth patching to 25.7.0 on a normal cycle, not a drop-everything priority.

Exploit ScenarioDerived

An attacker crafts a LibreNMS URL that forces the application into an error path which calls report_this() and injects a javascript: payload into the project_issues value (PoC: project_issues=javascript:alert(document.cookie)), which is written unescaped into an href attribute. The attacker sends this link to a LibreNMS operator; when the authenticated victim opens it and activates the malicious 'report this' link, the script runs in their browser and can exfiltrate session cookies. A public PoC exists in the GHSA advisory, lowering the barrier to weaponization.

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

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

Alert me

AnalysisAIv1 – Oct 19, 2026

Reflected cross-site scripting in LibreNMS before 25.7.0 lets unauthenticated attackers inject script through the project_issues value when a victim visits a crafted error page and clicks the generated 'report this' link. The flaw comes from using htmlentities() to build an href, which does not block javascript: URLs, and exploitation requires user interaction while limiting impact to the victim's browser session. Publicly available exploit code exists; EPSS is low at 0.25%, and no CISA KEV active-exploitation confirmation was provided.

RemediationAI

Vendor-released patch: upgrade LibreNMS to 25.7.0 or later; the fix commit 30d3dd7e5f5e22a8c23c9db3ad90a731c005b008 removes the vulnerable report_this() helper and replaces affected error messages with static text, as documented in GHSA-86rg-8hc8-v82p. If immediate upgrade is not possible, restrict access to the device alerts, device logs, routing, search, and tools pages to trusted administrators and ensure the project_issues value cannot be influenced by untrusted input or set to javascript:/file: URLs; these measures reduce exposure but do not repair the underlying output-encoding flaw and may limit legitimate monitoring workflows. Validate remediation against the vendor advisory at https://github.com/librenms/librenms/security/advisories/GHSA-86rg-8hc8-v82p.

Affected Packages

composer librenms/librenms fix: 25.7.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

LibreNMS is a PHP/MySQL/SNMP-based network monitoring platform, and the affected code is the report_this() helper in includes/functions.php. That helper inserted Config::get('project_issues') into an HTML href attribute after passing it through htmlentities(), which encodes HTML metacharacters but does not validate or restrict URI schemes such as javascript: or file:. This is CWE-79 (improper neutralization of input during web page generation), specifically a reflected XSS in a link context. The GHSA proof of concept uses project_issues=javascript:alert(document.cookie), and reachable paths include device alerts, device logs, routing, search, and tools pages when an unknown section, protocol, or type is supplied. The fix in 25.7.0 removes report_this() and replaces dynamic error text with static messages, eliminating the attacker-controlled href. The CPE cpe:2.3:a:librenms:librenms:*:*:*:*:*:*:*:* corresponds to LibreNMS versions through 25.6.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

Vendor (github) PRIMARY 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P
vuln.today AI 6.1 MEDIUM

Reflected XSS delivered via a crafted link needs victim interaction (UI:R) and no attacker privileges (PR:N); payload executes in the victim browser, a different security scope (S:C) with low C/I impact and no availability effect.

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

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

DescriptionCVE.org

LibreNMS is an open-source, PHP/MySQL/SNMP-based network monitoring system. Prior to 25.7.0, there is a reflected-XSS in report_this function in librenms/includes/functions.php. The report_this function had improper filtering (htmlentities function was incorrectly use in a href environment), which caused the project_issues parameter to trigger an XSS vulnerability. This vulnerability is fixed in 25.7.0.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Medium
popular open-source network monitoring tool, common but not ubiquitous
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.2%
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
Yes
Human Impact· derived
Medium

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
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)CVE.org

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