CVE-2025-68614 LibreNMS Alert Rule API Cross-Site Scripting Vulnerability

Medium 4.3 Published Updated

Attackers can inject malicious scripts via unsanitized alert rule names in the LibreNMS API, potentially compromising user sessions.

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

What is CVE-2025-68614?

CVE-2025-68614 is a medium-severity cross-site scripting vulnerability in Librenms Librenms, published on 22 Dec 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

LibreNMS is an auto-discovering PHP/MySQL/SNMP based network monitoring tool. Prior to version 25.12.0, the Alert Rule API is vulnerable to stored cross-site scripting. Alert rules can be created or updated via LibreNMS API. The alert rule name is not properly sanitized, and can be used to inject HTML code. This issue has been patched in version 25.12.0.

Weakness: CWE-79

Which versions are affected by CVE-2025-68614?

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

PackageAffectedFixed in
librenms/librenms PackagistAll versions25.12.0
librenms/librenms PackagistAll versions25.12.0

Products include Librenms Librenms.

How do I fix CVE-2025-68614?

Upgrade librenms/librenms to 25.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-2025-68614 being exploited?

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

All Librenms Librenms vulnerabilities

Sources

Also known as GHSA-c89f-8g7g-59wj.

Is CVE-2025-68614 in your software?

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

Check your SBOMs for free