CVE-2022-4069: Cross-site Scripting in librenms/librenms

librenms/librenms Updated 02 Oct 2025

Summary

20/11/2022
Yes i
Moderate
4.8

CVE-2022-4069: Cross-site Scripting in librenms/librenms. Affects librenms/librenms versions < 22.10.0. Fixed in 22.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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

LibreNMS is an open-source network monitoring and management tool. It provides a comprehensive platform for monitoring network devices, servers, and applications. The vulnerability identified as CVE-2022-4069 is a Cross-site Scripting (XSS) vulnerability in the GitHub repository librenms/librenms prior to version 22.10.0. This vulnerability allows an attacker to inject malicious scripts into web pages viewed by users, potentially leading to unauthorized access, data theft, or other malicious activities.

Vulnerability Detail

The Cross-site Scripting (XSS) vulnerability in librenms/librenms arises from improper input validation and sanitization of user-supplied data. Attackers can exploit this vulnerability by injecting malicious scripts into vulnerable web pages. When unsuspecting users visit these pages, the injected scripts are executed in their browsers, allowing the attacker to steal sensitive information, perform unauthorized actions, or manipulate the content of the page. This vulnerability has a CVSS score of 4.8, indicating a moderate severity level.

How To Fix

Minimum fixed version

22.10.0

This is the first release that contains the fix.

composer require librenms/librenms:22.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 implement input validation and sanitization measures on their own to mitigate the risk of XSS attacks. This can involve using security libraries or frameworks that provide built-in protection against XSS, such as HTML escaping or output encoding. Additionally, user input should be validated and sanitized before being displayed or processed in any way.

Conclusion

The CVE-2022-4069 vulnerability in librenms/librenms is a Cross-site Scripting (XSS) vulnerability that can be exploited by injecting malicious scripts into vulnerable web pages. Upgrading to version 22.10.0 or later of librenms/librenms is the recommended solution to fix this vulnerability. In the meantime, users can implement input validation and sanitization measures as a temporary workaround. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for librenms/librenms →

Share this vulnerability

FAQ

Cross-site Scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by users. These scripts can be used to steal sensitive information, perform unauthorized actions, or manipulate the content of the page.

The CVE-2022-4069 vulnerability can be exploited by injecting malicious scripts into vulnerable web pages. When unsuspecting users visit these pages, the injected scripts are executed in their browsers, allowing the attacker to carry out various malicious activities.

The impact of the CVE-2022-4069 vulnerability can be significant. Attackers can use it to steal sensitive information, such as login credentials or personal data, perform unauthorized actions on behalf of the user, or manipulate the content of the affected web pages.

Yes, a fix is available for the CVE-2022-4069 vulnerability. Users should upgrade to version 22.10.0 or later of librenms/librenms to address the issue and ensure the security of their LibreNMS installations.

While waiting to apply the official fix, users can implement input validation and sanitization measures to mitigate the risk of XSS attacks. This involves using security libraries or frameworks that provide built-in protection against XSS and validating/sanitizing user input before displaying or processing it.

Related vulnerabilities

Recent vulnerabilities recorded for librenms/librenms.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

22.10.0

This is the first release that contains the fix.

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