CVE-2026-45694: XSS

Published Aug 12, 2026
·
Updated

Summary LegacyController.php:75 writes the page title into a document.title JS assignment using string interpolation. apps/proxmox.inc.php pushes $vars['instance'] and $vars['vmid'] (GET params, only striptags() applied) directly into $pagetitle. A single quote terminates the JS string, executing arbitrary script.

Details php // LegacyController.php:75 $html .= "<script>\ndocument.title = '$title';\n</script>";

// proxmox.inc.php:38,42 $pagetitle[] = $instance; // GET ?instance= $pagetitle[] = $vars['vmid']; // GET ?vmid=

PoC http://target/apps?app=proxmox&instance=%27%3Balert%28document.cookie%29%3B//

Confirmed in response: document.title = 'Apps - Proxmox - ';alert(document.cookie);// - LibreNMS';

Fix php // LegacyController.php:75 $html .= "<script>\ndocument.title = " . jsonencode($title) . ";\n</script>"; Also wrap $instance and $vars['vmid'] in htmlspecialchars() in proxmox.inc.php.

Prerequisite Any authenticated session. Victim must follow a crafted link.

Affected Software

1 affected componentFixes available
composer/librenms/librenms<=26.4.0
26.5.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/librenms/librenms to a version that resolves this vulnerability.

    Fixed in 26.5.0
  2. Configuration

    In proxmox.inc.php, apply htmlspecialchars() to both $vars['instance'] and $vars['vmid'] before pushing them into $pagetitle (currently they are derived from GET parameters and only strip_tags() is applied). This prevents breaking out of the JavaScript single-quoted string that becomes document.title.

    apps/proxmox.inc.php Sanitize page title variables used in JavaScript string assignment = Wrap $vars['instance'] and $vars['vmid'] in htmlspecialchars() (in addition to the existing strip_tags())

Event History

Aug 12, 2026
Advisory Published
via GitHub·03:16 PM
Data Sourced
via GitHub·03:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-45694?

CVE-2026-45694 has a medium severity score of 5.4.

2

How do I fix CVE-2026-45694?

To mitigate CVE-2026-45694, ensure proper escaping or validation of user input before using it in JavaScript assignments.

3

What types of attacks are possible with CVE-2026-45694?

CVE-2026-45694 enables cross-site scripting (XSS) attacks due to improper handling of user input in JavaScript.

4

Which versions of the software are affected by CVE-2026-45694?

CVE-2026-45694 affects certain versions of the composer/librenms/librenms software prior to the fixes implemented in version 26.5.0.

5

What is the impact of CVE-2026-45694?

The impact of CVE-2026-45694 includes potential unauthorized execution of scripts in the user's browser, leading to data theft or session hijacking.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203