CVE-2025-23198: LibreNMS Display Name Stored XSS Vulnerability

librenms/librenms Updated 02 Oct 2025

Summary

16/01/2025
Yes i
Moderate
4.6

CVE-2025-23198: LibreNMS Display Name Stored Cross-site Scripting vulnerability. Affects librenms/librenms versions >= 24.9.0, < 24.11.0. Fixed in 24.11.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

LibreNMS is an open-source network monitoring system that provides a range of features for monitoring network devices, including performance metrics, alerts, and visualizations. It is widely used for its flexibility and extensibility, allowing users to customize their monitoring setup. However, certain versions of LibreNMS (specifically 24.9.0, 24.10.0, and 24.10.1) are vulnerable to a stored cross-site scripting (XSS) attack, which can compromise the security of the application and its users.

Vulnerability Detail

The vulnerability arises from improper handling of user input in the 'Display Name' field when editing device settings. Attackers can inject malicious scripts that execute when other users view the affected device settings. This can lead to unauthorized actions, data exposure, and potential compromise of user accounts. The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), and it affects specific versions of LibreNMS, allowing for the execution of arbitrary JavaScript code in the context of the user's session.

How To Fix

Minimum fixed version

24.11.0

This is the first release that contains the fix.

composer require librenms/librenms:24.11.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can sanitize the input in the 'Display Name' field to prevent script injection. However, this is not a permanent solution, and updating to the patched version is strongly recommended.

Conclusion

The stored XSS vulnerability in LibreNMS poses a significant risk to users, allowing attackers to execute malicious scripts through the 'Display Name' field. It is crucial for users to update to the patched version to safeguard their systems and data.

See every vulnerability recorded for librenms/librenms →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 4.6, indicating a moderate severity level.

The affected versions are 24.9.0, 24.10.0, and 24.10.1. Users should upgrade to version 24.11.0 or later.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The potential impacts include unauthorized actions, data exposure, and the execution of malicious scripts in the context of the user's session.

While sanitizing input can help mitigate the risk, the best course of action is to update to the latest version of LibreNMS.

Related vulnerabilities

Recent vulnerabilities recorded for librenms/librenms.

How To Fix

Minimum fixed version

24.11.0

This is the first release that contains the fix.

composer require librenms/librenms:24.11.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback