CVE-2025-55296
LibreNMS allows stored XSS in Alert Template name field
CVE-2025-55296 is a medium vulnerability (CVSS 5.5) in Librenms, published August 18, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 17.0%, the 97th percentile. Fixed in librenms/librenms 25.8.0.
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- High
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
5.5
LibreNMS allows stored XSS in Alert Template name field
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.
- Record
CVE-2025-55296- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
EUVDEUVD-2025-25142
5.5
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.
- Record
EUVD-2025-25142- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-vxq6-8cwm-wj99
5.5
LibreNMS allows stored XSS in Alert Template name field
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:
<script>alert(document.cookie)</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
-
Log in to LibreNMS using an account with the admin role.
-
Navigate to:
http://localhost:8000/templates. -
Click the "Create new alert template" button.
-
Input the following into the Template name field:
<script>alert(document.cookie)</script> -
Fill the remaining fields (
Template,Alert title,Recovery title) with arbitrary content such astest. -
Click "Create template".
-
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.
- Record
GHSA-vxq6-8cwm-wj99- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
NVD
5.5
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.
- Record
CVE-2025-55296- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N - CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV
5.5
LibreNMS allows stored XSS in Alert Template name field
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.
- Record
CVE-2025-55296- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSVGHSA-vxq6-8cwm-wj99
5.5
LibreNMS allows stored XSS in Alert Template name field
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:
<script>alert(document.cookie)</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
-
Log in to LibreNMS using an account with the admin role.
-
Navigate to:
http://localhost:8000/templates. -
Click the "Create new alert template" button.
-
Input the following into the Template name field:
<script>alert(document.cookie)</script> -
Fill the remaining fields (
Template,Alert title,Recovery title) with arbitrary content such astest. -
Click "Create template".
-
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.
- Record
GHSA-vxq6-8cwm-wj99- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
librenms/librenmsPackagist |
before 25.8.0 | 25.8.0 |
librenms/librenmsPackagist |
before 25.8.0, plus listed versions 1.191.201.20.11.211.22 Show 45 moreShow less1.22.011.231.241.251.261.271.281.291.301.30.011.311.31.011.31.021.31.031.321.32.011.331.33.011.341.351.361.36.011.371.381.391.401.411.421.42.011.431.441.451.461.471.481.48.11.491.501.50.11.511.521.531.53.11.541.55 |
25.8.0 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-02 | created | CVE List, EUVD, GitHub Advisories, NVD, OSV |
References
github.com/librenms/librenms/security/advisories/GHSA-vxq6-8cwm-wj99
github.com/librenms/librenms/commit/8ade3d827d317f5ac4b336617aafff865f825958
nvd.nist.gov/vuln/detail/CVE-2025-55296
github.com/advisories/GHSA-vxq6-8cwm-wj99
github.com/CVEProject/cvelistV5/tree/main/cves/2025/55xxx/CVE-2025-55296.json
github.com/librenms/librenms
Left out here: 91 versions. The JSON record has them.