CVE-2025-55296: LibreNMS allows stored XSS in Alert Template name field

Published Aug 18, 2025
·
Updated

Summary

A stored Cross-Site Scripting (XSS) vulnerability exists in LibreNMS (<= 25.6.0) in the Alert Template creation feature. This allows a user with the admin role to inject malicious JavaScript, which will be executed when the template is rendered, potentially compromising other admin accounts.

--- Details

In the LibreNMS web UI, when a user with the admin role visits /templates and clicks "Create new alert template", the "Template name" field fails to properly sanitize input. By inserting a payload like:

&lt;script>alert(document.cookie)&lt;/script>

and filling the other fields with arbitrary content (e.g., test), once the template is saved, the script is executed. This confirms that user input is stored and later rendered without proper output encoding.

This vulnerability can be exploited for session hijacking, data theft, or other malicious actions targeting other admin users.

--- PoC

1. Log in to LibreNMS using an account with the admin role. 2. Navigate to: http://localhost:8000/templates. 3. Click the "Create new alert template" button. 4. Input the following into the Template name field:

&lt;script>alert(document.cookie)&lt;/script> 5. Fill the remaining fields (Template, Alert title, Recovery title) with arbitrary content such as test. 6. Click "Create template". 7. Upon saving, a JavaScript alert pops up, confirming the stored XSS is triggered. <img width="1574" height="848" alt="image" src="https://github.com/user-attachments/assets/bc482874-c47e-48e3-83b6-cb4a9dcf4a53" />

--- Impact

Type: Stored Cross-Site Scripting (XSS) Affected users: Only accounts with the admin role who access the Alert Templates page (http://localhost:8000/templates) are affected. Attackers need: Authenticated admin-level access.

Other sources

librenms is a community-based GPL-licensed network monitoring system. A stored Cross-Site Scripting (XSS) vulnerability exists in LibreNMS (<= 25.6.0) in the Alert Template creation feature. This allows a user with the admin role to inject malicious JavaScript, which will be executed when the template is rendered, potentially compromising other admin accounts. This vulnerability is fixed in 25.8.0.

MITRE

Affected Software

3 affected componentsFixes available
librenms librenms<=25.6.0
composer/librenms/librenms<25.8.0
25.8.0
librenms librenms<25.8.0

Event History

Aug 18, 2025
CVE Published
via MITRE·05:27 PM
Data Sourced
via MITRE·05:27 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
RemedyAffected Software
Advisory Published
via GitHub·10:25 PM
Data Sourced
via GitHub·10:25 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-55296?

CVE-2025-55296 has a high severity due to the potential for stored Cross-Site Scripting (XSS) attacks.

2

How do I fix CVE-2025-55296?

To fix CVE-2025-55296, upgrade LibreNMS to version 25.6.1 or later.

3

Who is affected by CVE-2025-55296?

CVE-2025-55296 affects all installations of LibreNMS version 25.6.0 and earlier.

4

What feature in LibreNMS is impacted by CVE-2025-55296?

The Alert Template creation feature in LibreNMS is impacted by CVE-2025-55296.

5

What type of vulnerability is CVE-2025-55296?

CVE-2025-55296 is classified as a stored Cross-Site Scripting (XSS) vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203