CVE-2023-5060: Cross-Site Scripting in librenms/librenms

librenms/librenms Updated 02 Oct 2025

Summary

19/09/2023
Yes i
High
8.4

CVE-2023-5060: Cross site scripting in librenms. Affects librenms/librenms versions < 23.9.1. Fixed in 23.9.1. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

librenms/librenms is an open-source network monitoring tool written in PHP. It provides a web-based interface for monitoring and graphing network devices and servers. The vulnerability identified as CVE-2023-5060 is a Cross-Site Scripting (XSS) vulnerability in the librenms/librenms GitHub repository prior to version 23.9.1.

Vulnerability Detail

The Cross-Site Scripting (XSS) vulnerability in librenms/librenms allows an attacker to inject malicious scripts into web pages viewed by users. This can lead to various security risks, such as unauthorized access to sensitive information, session hijacking, or the execution of arbitrary code on the victim's browser. The vulnerability originates from improper input sanitization, allowing the attacker to inject malicious code that is executed within the victim's browser.

How To Fix

Minimum fixed version

23.9.1

This is the first release that contains the fix.

composer require librenms/librenms:23.9.1

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

Workaround

There is no known workaround for this vulnerability. It is essential to upgrade to the fixed version to mitigate the risk of exploitation.

Conclusion

The Cross-Site Scripting (XSS) vulnerability in librenms/librenms prior to version 23.9.1 poses a significant security risk. It is crucial for users to upgrade to the fixed version to protect their systems and data. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for librenms/librenms →

Share this vulnerability

FAQ

librenms/librenms is an open-source network monitoring tool written in PHP. It provides a web-based interface for monitoring and graphing network devices and servers.

Cross-Site Scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by users. This can lead to various security risks, such as unauthorized access to sensitive information or the execution of arbitrary code on the victim's browser.

The impact of this vulnerability includes the potential for unauthorized access to sensitive information, session hijacking, or the execution of arbitrary code on the victim's browser.

To fix this vulnerability, it is recommended to upgrade to version 23.9.1 or later of librenms/librenms. This version includes proper input sanitization to prevent XSS attacks.

There is no known workaround for this vulnerability. It is essential to upgrade to the fixed version to mitigate the risk of exploitation.

Related vulnerabilities

Recent vulnerabilities recorded for librenms/librenms.

How To Fix

Minimum fixed version

23.9.1

This is the first release that contains the fix.

composer require librenms/librenms:23.9.1

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