CVE-2024-56144 Stored XSS-LibreNMS-Display Name 2 in librenms

Medium 4.6 Published Updated

Attackers can inject malicious scripts via the display name parameter, leading to script execution when viewed by other users.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-56144?

CVE-2024-56144 is a medium-severity cross-site scripting vulnerability in Librenms Librenms, published on 16 Jan 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

librenms is a community-based GPL-licensed network monitoring system. Affected versions are subject to a stored XSS on the parameters (Replace $DEVICE_ID with your specific $DEVICE_ID value):`/device/$DEVICE_ID/edit` -> param: display. Librenms versions up to 24.11.0 allow remote attackers to inject malicious scripts. When a user views or interacts with the page displaying the data, the malicious script executes immediately, leading to potential unauthorized actions or data exposure. This issue has been addressed in release version 24.12.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Weakness: CWE-79

Which versions are affected by CVE-2024-56144?

2 open source packages ship an affected version, including librenms/librenms. It affects 1 product.

PackageAffectedFixed in
librenms/librenms PackagistFrom 24.11.1024.12.0
librenms/librenms PackagistFrom 24.11.1024.12.0

Products include Librenms Librenms.

How do I fix CVE-2024-56144?

Upgrade librenms/librenms to 24.12.0 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2024-56144 being exploited?

There is no known exploitation of CVE-2024-56144 in the wild and no public exploit code.

All Librenms Librenms vulnerabilities

Sources

Also known as GHSA-2f4w-6mc7-4w78.

Is CVE-2024-56144 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free