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

librenms/librenms Updated 02 Oct 2025

Summary

20/11/2022
Yes i
Moderate
6.1

CVE-2022-3516: 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

LibreNMS is an open-source network monitoring and management tool. It provides a comprehensive set of features for monitoring network devices, collecting performance data, and generating alerts. The vulnerability identified as CVE-2022-3516 is a Cross-site Scripting (XSS) vulnerability that existed in the GitHub repository of librenms/librenms prior to version 22.10.0.

Vulnerability Detail

The Cross-site Scripting (XSS) vulnerability allowed an attacker to inject malicious scripts into the web application, which would then be executed by the victim's browser. This type of vulnerability can lead to various attacks, such as session hijacking, defacement of web pages, or stealing sensitive information. The vulnerability was rated as moderate severity with a CVSS score of 6.1.

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

There is no specific workaround mentioned for this vulnerability. However, users can mitigate the risk by ensuring they are using the latest version of librenms/librenms and by implementing additional security measures, such as Content Security Policy (CSP) and input validation.

Conclusion

The Cross-site Scripting vulnerability in librenms/librenms prior to version 22.10.0 could allow attackers to execute malicious scripts in the context of a victim's browser. It is recommended to upgrade to the latest version and implement additional security measures to mitigate the risk. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for librenms/librenms →

Share this vulnerability

FAQ

The vulnerability could allow an attacker to execute arbitrary scripts in the context of the victim's browser, potentially leading to unauthorized access, data theft, or defacement of web pages.

You can use Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities using just the composer.lock file.

There are no known exploits for this vulnerability at the time of this report. However, it is always recommended to patch vulnerabilities as soon as possible to prevent any potential attacks.

Yes, a fix is available in version 22.10.0 of librenms/librenms. Users are advised to upgrade to this version or later to mitigate the vulnerability.

In addition to upgrading to the latest version of librenms/librenms, you can implement Content Security Policy (CSP) to restrict the execution of scripts from unauthorized sources. It is also important to validate and sanitize user input to prevent XSS attacks.

Related vulnerabilities

Recent vulnerabilities recorded for librenms/librenms.

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