Every CVE Search/ Get API key

CVE-2024-50355

LibreNMS has a Persistent XSS from Insecure Input Sanitization Affects Multiple Endpoints

4.8 MediumFix available

LibreNMS is an open-source, PHP/MySQL/SNMP-based network monitoring system. User with Admin role can edit the Display Name of a device, the application did not properly sanitize the user input in the device Display Name, if java script code is inside the name of the device Display Name, its can be trigger from different sources. This vulnerability is fixed in 24.10.0.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
High
User interaction
Required

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
None

Exploit likelihood

0.34%Up 0.3 points since Nov 16, 2024
90%50%10%1%

What each source reports

CVE List Score used 4.8

LibreNMS has a Persistent XSS from Insecure Input Sanitization Affects Multiple Endpoints

LibreNMS is an open-source, PHP/MySQL/SNMP-based network monitoring system. User with Admin role can edit the Display Name of a device, the application did not properly sanitize the user input in the device Display Name, if java script code is inside the name of the device Display Name, its can be trigger from different sources. This vulnerability is fixed in 24.10.0.

Record
CVE-2024-50355
CVSS 3.1
4.8 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
EUVDEUVD-2024-3196 4.8

LibreNMS is an open-source, PHP/MySQL/SNMP-based network monitoring system. User with Admin role can edit the Display Name of a device, the application did not properly sanitize the user input in the device Display Name, if java script code is inside the name of the device Display Name, its can be trigger from different sources. This vulnerability is fixed in 24.10.0.

Record
EUVD-2024-3196
CVSS 3.1
4.8 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-03
GitHub AdvisoriesGHSA-4m5r-w2rq-q54q 7.2

LibreNMS has a Persistent XSS from Insecure Input Sanitization Affects Multiple Endpoints

Summary

The application fail to sanitising inputs properly and rendering the code from user input to browser which allow an attacker to execute malicious javascript code.

Details

User with Admin role can edit the Display Name of a device, the application did not properly sanitize the user input in the device Display Name, if java script code is inside the name of the device Display Name, its can be trigger from different sources.

PoC

  1. Use an Admin role user to change the Display Name of a device into the payload <img src="x" onerror="alert(document.cookie)">

2.1. Go to manage user and choose Manage Access

2.2. A pop-up will show

3.1. Create a new Alert Rule where it will check if the device is up or down by using ICMP and then add the rule to the device.

3.2. Once the device is down, there will be an alert in the Alerts Notifications

3.3. Hover over the Hostname will see a pop-up.

4.1. The same can be trigger in the Alert History once hover over the Device field.

5.1. The same can be trigger once hover over the Hostname field from the Event Log of the device.

6.1. The same can be trigger in the Outages function in the Logs of the device.

7.1. In the Active Alerts of the device.

8.2. In the Alert History of the device.

9.1. They can also be trigger in the dashboard.

10.1. Also if change the payload into <img src="x" onerror="alert(document['cookie'])">, it can also be trigger in the Availability Map.

Impact

It could allow authenticated users to execute arbitrary JavaScript code in the context of other users' sessions. Impacted users could have their accounts compromised, enabling the attacker to perform unauthorized actions on their behalf.

Record
GHSA-4m5r-w2rq-q54q
CVSS 3.1
7.2 HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-79
Updated
2026-11-02
NVD 4.8

LibreNMS is an open-source, PHP/MySQL/SNMP-based network monitoring system. User with Admin role can edit the Display Name of a device, the application did not properly sanitize the user input in the device Display Name, if java script code is inside the name of the device Display Name, its can be trigger from different sources. This vulnerability is fixed in 24.10.0.

Record
CVE-2024-50355
CVSS 3.1
4.8 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
OSV 4.8

LibreNMS has a Persistent XSS from Insecure Input Sanitization Affects Multiple Endpoints

LibreNMS is an open-source, PHP/MySQL/SNMP-based network monitoring system. User with Admin role can edit the Display Name of a device, the application did not properly sanitize the user input in the device Display Name, if java script code is inside the name of the device Display Name, its can be trigger from different sources. This vulnerability is fixed in 24.10.0.

Record
CVE-2024-50355
CVSS 3.1
4.8 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
OSVGHSA-4m5r-w2rq-q54q 7.2

LibreNMS has a Persistent XSS from Insecure Input Sanitization Affects Multiple Endpoints

Summary

The application fail to sanitising inputs properly and rendering the code from user input to browser which allow an attacker to execute malicious javascript code.

Details

User with Admin role can edit the Display Name of a device, the application did not properly sanitize the user input in the device Display Name, if java script code is inside the name of the device Display Name, its can be trigger from different sources.

PoC

  1. Use an Admin role user to change the Display Name of a device into the payload <img src="x" onerror="alert(document.cookie)">

2.1. Go to manage user and choose Manage Access

2.2. A pop-up will show

3.1. Create a new Alert Rule where it will check if the device is up or down by using ICMP and then add the rule to the device.

3.2. Once the device is down, there will be an alert in the Alerts Notifications

3.3. Hover over the Hostname will see a pop-up.

4.1. The same can be trigger in the Alert History once hover over the Device field.

5.1. The same can be trigger once hover over the Hostname field from the Event Log of the device.

6.1. The same can be trigger in the Outages function in the Logs of the device.

7.1. In the Active Alerts of the device.

8.2. In the Alert History of the device.

9.1. They can also be trigger in the dashboard.

10.1. Also if change the payload into <img src="x" onerror="alert(document['cookie'])">, it can also be trigger in the Availability Map.

Impact

It could allow authenticated users to execute arbitrary JavaScript code in the context of other users' sessions. Impacted users could have their accounts compromised, enabling the attacker to perform unauthorized actions on their behalf.

Record
GHSA-4m5r-w2rq-q54q
CVSS 3.1
7.2 HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-79
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
librenms/librenms
Packagist
through 24.9.0
24.10.0
librenms/librenms
Packagist
before 24.10.0, plus listed versions
1.191.201.20.11.211.22
Show 45 moreShow less
1.22.011.231.241.251.261.271.281.291.301.30.011.311.31.011.31.021.31.031.321.32.011.331.33.011.341.351.361.36.011.371.381.391.401.411.421.42.011.431.441.451.461.471.481.48.11.491.501.50.11.511.521.531.53.11.541.55
24.10.0

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-50355 is a medium vulnerability (CVSS 4.8) in Librenms, published November 15, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.34%, the 27th percentile. Fixed in librenms/librenms 24.10.0.

References

This page doesn't list everything

Left out here: 80 versions. The JSON record has them.

MoveEnter Open