LibreNMS
CVE-2025-62365
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft URL injecting javascript: into project_issues
-
DeliveryDeliver crafted link to LibreNMS user
-
ExploitVictim visits, report_this renders tainted href
-
ExecutionExecute script in victim browser
-
ImpactSteal 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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.
Primary rating from Vendor (github).
CVSS VectorVendor: github
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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
An issue was discovered in LibreNMS through 1.47. Rated high severity (CVSS 7.2), this vulnerability is remotely exploit
Librenms 21.11.0 is affected by a path manipulation vulnerability in includes/html/pages/device/showconfig.inc.php. Rate
An issue was discovered in LibreNMS through 1.47. Rated critical severity (CVSS 9.8), this vulnerability is remotely exp
Authentication bypass in the LibreNMS REST API (all versions before 26.8.0) lets unauthenticated remote attackers reach
SQL injection in LibreNMS 25.12.0 and below. PoC and patch available.
An issue was discovered in LibreNMS through 1.47. Rated critical severity (CVSS 9.1), this vulnerability is remotely exp
SQL injection in LibreNMS versions 25.12.0 and below allows authenticated users to extract sensitive database informatio
LibreNMS is an open-source, PHP/MySQL/SNMP-based network monitoring system. Rated high severity (CVSS 8.8), this vulnera
An issue was discovered in LibreNMS before 1.65.1. Rated high severity (CVSS 8.8), this vulnerability is remotely exploi
An issue was discovered in LibreNMS 1.50.1. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable,
An issue was discovered in LibreNMS through 1.47. Rated high severity (CVSS 8.8), this vulnerability is remotely exploit
Command injection in LibreNMS's Virtualization Discovery module enables authenticated administrator-level users to execu
NVD
CVE.org
EPSS
GitHub
Exploit-DB