LibreNMS: Reflected XSS via Proxmox instance/vmid GET parameters injected into document.title JavaScript assignment (CVE-2026-45694)
LibreNMS versions prior to 26.5.0 contain a reflected cross-site scripting (XSS) vulnerability in the Proxmox app integration. The vulnerability arises because user-supplied GET parameters 'instance' and 'vmid' are inserted into a JavaScript document.title assignment without proper encoding, allowing injection of arbitrary script. Exploitation requires an authenticated session and user interaction with a crafted link. The vulnerability has a CVSS 3.1 score of 5.4 (medium severity).
AI Analysis
Technical Summary
In LibreNMS before version 26.5.0, the Proxmox integration improperly handles the GET parameters 'instance' and 'vmid' by inserting them directly into a JavaScript assignment to document.title using string interpolation without adequate sanitization. Only strip_tags() is applied, which is insufficient to prevent injection of JavaScript code. An attacker can craft a URL with malicious payloads in these parameters that break out of the string context and execute arbitrary JavaScript in the victim's browser. The vulnerability requires the victim to be authenticated and to follow a malicious link. The recommended fix is to use json_encode() for the document.title assignment and to apply htmlspecialchars() to the GET parameters to ensure proper escaping.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the authenticated user's browser session. This can lead to theft of session cookies, user impersonation, or other actions permitted by the user's privileges within LibreNMS. The vulnerability does not impact availability and requires user interaction and an authenticated session.
Mitigation Recommendations
A patch is available that changes the JavaScript assignment to use json_encode() for safe encoding of the page title and applies htmlspecialchars() to the 'instance' and 'vmid' GET parameters in proxmox.inc.php. Users should upgrade to LibreNMS version 26.5.0 or later where this fix is implemented. Until patched, avoid clicking on untrusted links containing Proxmox app parameters. No additional mitigations are specified by the vendor.
LibreNMS: Reflected XSS via Proxmox instance/vmid GET parameters injected into document.title JavaScript assignment (CVE-2026-45694)
Description
LibreNMS versions prior to 26.5.0 contain a reflected cross-site scripting (XSS) vulnerability in the Proxmox app integration. The vulnerability arises because user-supplied GET parameters 'instance' and 'vmid' are inserted into a JavaScript document.title assignment without proper encoding, allowing injection of arbitrary script. Exploitation requires an authenticated session and user interaction with a crafted link. The vulnerability has a CVSS 3.1 score of 5.4 (medium severity).
CVSS v3.1
Score 5.4medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
In LibreNMS before version 26.5.0, the Proxmox integration improperly handles the GET parameters 'instance' and 'vmid' by inserting them directly into a JavaScript assignment to document.title using string interpolation without adequate sanitization. Only strip_tags() is applied, which is insufficient to prevent injection of JavaScript code. An attacker can craft a URL with malicious payloads in these parameters that break out of the string context and execute arbitrary JavaScript in the victim's browser. The vulnerability requires the victim to be authenticated and to follow a malicious link. The recommended fix is to use json_encode() for the document.title assignment and to apply htmlspecialchars() to the GET parameters to ensure proper escaping.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the authenticated user's browser session. This can lead to theft of session cookies, user impersonation, or other actions permitted by the user's privileges within LibreNMS. The vulnerability does not impact availability and requires user interaction and an authenticated session.
Mitigation Recommendations
A patch is available that changes the JavaScript assignment to use json_encode() for safe encoding of the page title and applies htmlspecialchars() to the 'instance' and 'vmid' GET parameters in proxmox.inc.php. Users should upgrade to LibreNMS version 26.5.0 or later where this fix is implemented. Until patched, avoid clicking on untrusted links containing Proxmox app parameters. No additional mitigations are specified by the vendor.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-jmqm-f8q4-v7wx
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-45694"]
- Ecosystems
- ["Packagist"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a7c9b2dbf8831d539cdb689
Added to database: 08/12/2026, 16:11:25 UTC
Last enriched: 08/12/2026, 16:22:05 UTC
Last updated: 08/12/2026, 19:32:36 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.