Skip to content
XSS Advisory Beginner CVE-2025-68614

LibreNMS Alert Rule API Cross-Site Scripting Vulnerability

The LibreNMS alert rule API endpoint fails to properly validate the name parameter, allowing an authenticated attacker to inject arbitrary script. This script executes in the context of a target user who views the affected page.

Simon Humbert Follow

Originally disclosed on Zero Day Initiative

Medium 4.3 View original

This vulnerability allows remote attackers to execute arbitrary script on affected installations of LibreNMS. Authentication is required to exploit this vulnerability.

Simon Humbert of Trend Research, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the application stores the alert rule name without sanitising or encoding it, then renders it unsafely in a page viewed by other users.

Impact

An authenticated attacker could execute arbitrary script in the context of another user who views the affected alert rule, potentially taking actions as that user.

What the attacker needed

Authenticated account; victim views the affected rule

The fix

LibreNMS issued an update to correct this vulnerability.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When a website takes input from a user and later shows it to someone else without cleaning it, an attacker can sneak in code that runs in the victim's browser. Here, the name field of an alert rule was not checked, so a logged-in attacker could store malicious script that runs when another user views the rule. This is called cross-site scripting, and it lets the attacker act as the victim inside the application.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.