CVE-2025-62412: LibreNMS Alert Rules Cross-Site Scripting Vulnerability

librenms/librenms Updated 17 Oct 2025

Summary

16/10/2025
Yes i
Low
3.8

CVE-2025-62412: LibreNMS alert-rules has a Cross-Site Scripting Vulnerability. Affects librenms/librenms versions < 25.10.0. Fixed in 25.10.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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

LibreNMS is an open-source network monitoring tool that provides a range of features for monitoring network devices, including alerts, graphs, and device management. The software is designed for flexibility and scalability, making it suitable for both small and large networks. However, it has been found to be vulnerable to a Cross-Site Scripting (XSS) attack, specifically in its Alert Rules functionality, where user input is not properly sanitized.

Vulnerability Detail

The vulnerability arises from the Alert Rules feature in LibreNMS, where the alert rule name can be manipulated to inject malicious HTML code due to inadequate sanitization. This allows an attacker to execute arbitrary JavaScript in the context of a user's browser, potentially leading to data theft, session hijacking, or other malicious actions. The vulnerability was discovered in version 25.8.0 and can be exploited by an admin user when creating or updating alert rules.

How To Fix

Minimum fixed version

25.10.0

This is the first release that contains the fix.

composer require librenms/librenms:25.10.0

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

Workaround

As a temporary workaround, users can avoid using special characters in the alert rule names until the update is applied. Additionally, implementing strict input validation and sanitization on the server-side can help mitigate the risk of XSS attacks.

Conclusion

CVE-2025-62412 is a significant vulnerability in LibreNMS that can lead to serious security risks if not addressed. Users are strongly advised to update to the latest version to mitigate these risks. Regular monitoring for vulnerabilities using tools like Vulert can help maintain the security of your applications.

See every vulnerability recorded for librenms/librenms →

Share this vulnerability

FAQ

CVE-2025-62412 is a Cross-Site Scripting vulnerability found in the Alert Rules feature of LibreNMS, allowing attackers to inject malicious scripts.

If you are using LibreNMS version 25.8.0 or earlier, your installation is vulnerable. You can check your version by running 'git describe --tags' in your LibreNMS directory.

Exploitation of this vulnerability can lead to unauthorized access to sensitive information, session hijacking, and other malicious activities performed in the context of the affected user's session.

Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software. You can check your application against known vulnerabilities using the Vulert playground without needing to sign up.

The CVSS score for CVE-2025-62412 is 3.8, indicating a low severity level for this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for librenms/librenms.

How To Fix

Minimum fixed version

25.10.0

This is the first release that contains the fix.

composer require librenms/librenms:25.10.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