Advisory

GHSA-frc6-pwgr-c28w

Also known as: CVE-2025-62411

Summary

LibreNMS has a Stored XSS vulnerability in its Alert Transport name field

Details

Summary

LibreNMS <= 25.8.0 contains a Stored Cross-Site Scripting (XSS) vulnerability in the Alert Transports management functionality. When an administrator creates a new Alert Transport, the value of the Transport name field is stored and later rendered in the Transports column of the Alert Rules page without proper input validation or output encoding. This leads to arbitrary JavaScript execution in the admin’s browser.

Details

  • Injection point: Transport name field in /alert-transports.
  • Execution point: Transports column in /alert-rules.
  • Scope: Only administrators can create Alert Transports, and only administrators can view the affected Alert Rules page. Therefore, both exploitation and impact are limited to admin users.

Steps to reproduce

  1. Log in with an administrator account.
  2. Navigate to:
   http://localhost:8000/alert-transports
  1. Click Create alert transport and provide the following values:
  • Transport name:

```html
'onfocus='alert(1)' autofocus=
```

Save the transport.

  1. Navigate to http://localhost:8000/alert-rules. A popup alert(1) is triggered, confirming that the payload executes.

<img width="1829" height="396" alt="image" src="https://github.com/user-attachments/assets/932ba17d-214d-4253-80b8-62539d1cfa28" />

Impact

Only accounts with the admin role who access the Alert Rules page (http://localhost:8000/alert-rules) are affected.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-10-16 16:52 UTC
Modified
2025-10-16 19:53 UTC

Affected packages and fixes

librenms/librenms

Packagist · All systems

Affected

  • introduced 0, fixed 25.10.0 (ecosystem)

Fixed versions

25.10.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences