← Vulnerability feed

Vulnerability record · CVE-2024-49754 · published 15 November 2024

CVE-2024-49754: LibreNMS API token field stored XSS

Librenms · Librenms

LibreNMS before 24.10.0 stores unsanitized input from the API token parameter on the API-Access page, allowing authenticated users to inject JavaScript that runs in other users' sessions. Because the payload persists and executes for anyone viewing the affected page, it can compromise accounts of higher-privileged users.

5.4 CVSS 3.1 Medium EPSS 71% · top 0.6% CWE-79 · Cross-site scripting
5.4CVSS 3.1 base score
71%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 1 tagged exploit
17 Jun 2026Last modified by NVD

Description

LibreNMS is an open-source, PHP/MySQL/SNMP-based network monitoring system. A Stored Cross-Site Scripting (XSS) vulnerability in the API-Access page allows authenticated users to inject arbitrary JavaScript through the "token" parameter when creating a new API token. This vulnerability can result in the execution of malicious code in the context of other users' sessions, compromising their accounts and enabling unauthorized actions. This vulnerability is fixed in 24.10.0.

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: high.

medium priorityStored XSS requires authentication and victim interaction, but the high EPSS score and public exploit reference raise the practical risk for exposed LibreNMS instances.

What it is

LibreNMS before 24.10.0 stores unsanitized input from the API token parameter on the API-Access page, allowing authenticated users to inject JavaScript that runs in other users' sessions. Because the payload persists and executes for anyone viewing the affected page, it can compromise accounts of higher-privileged users.

Impact

An attacker with a low-privileged account can run arbitrary JavaScript in the browser of any user who views the API-Access page, potentially stealing session data or performing actions as that user.

Attack surface

Reached over the network through the web interface by an authenticated user who creates an API token with a crafted token value; the victim must view the affected page, so user interaction is required.

Exploitation

Not listed in CISA KEV, but EPSS is high (0.71, 99th percentile) and a vendor advisory is tagged as an exploit reference, indicating public proof-of-concept or exploit detail exists.

What to do

  • Upgrade LibreNMS to 24.10.0 or later, which contains the fix.
  • If immediate upgrade is not possible, restrict access to the API-Access page to trusted administrators.
  • Review and remove any suspicious existing API tokens with unexpected characters.
  • Apply output encoding or input validation to the token parameter as a temporary compensating control.

Detection

  • Search web server and application logs for API token creation requests containing script tags or event handlers in the token parameter.
  • Audit existing API tokens for values containing HTML or JavaScript syntax.
  • Monitor for anomalous authenticated sessions or actions originating from users who recently viewed the API-Access page.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-49754 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2022-4070Librenms insufficient session expiration vulnerabilityInsufficient Session Expiration in GitHub repository librenms/librenms prior to 22.10.0.EPSS 0.65%9.8CVE-2022-29712Librenms command injection vulnerabilityLibreNMS v22.3.0 was discovered to contain multiple command injection vulnerabilities via the service_ip, hostname, and service_param parameters.EPSS 1.7%9.8CVE-2021-44278Librenms path traversal vulnerabilityLibrenms 21.11.0 is affected by a path manipulation vulnerability in includes/html/pages/device/showconfig.inc.php.EPSS 1.5%9.8CVE-2019-10665Librenms injection vulnerabilityAn issue was discovered in LibreNMS through 1.47. The scripts that handle the graphing options (html/includes/graphs/common.inc.php and html/includes…EPSS 1.5%9.8CVE-2018-20434LibreNMS addhost OS command injection via community parameterLibreNMS 1.46 fails to sanitize the $_POST['community'] parameter in html/pages/addhost.inc.php when creating a new device, and the value is later mi…EPSS 71%analysed9.3CVE-2026-26988Librenms sql injection vulnerabilityLibreNMS is an auto-discovering PHP/MySQL/SNMP based network monitoring tool. Versions 25.12.0 and below contain an SQL Injection vulnerability in th…EPSS 0.48%9.2CVE-2026-86426Librenms improper authentication vulnerabilityLibreNMS before 26.8.0 contains an authentication bypass vulnerability in the REST API that allows unauthenticated attackers to access protected endp…EPSS 3.9%9.1CVE-2024-51092Librenms os command injection vulnerabilityLibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutController.php's index(), Settings…EPSS 7.2%

Source: NIST National Vulnerability Database (record CVE-2024-49754), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.