CVE-2024-32479 — Vulnerability in librenms/librenms — CVE Details
LibreNMS uses Improper Sanitization on Service template name leads to Stored XSS
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.02%). Schedule for your next planned update.
Does your project use an affected librenms/librenms version?
Paste your composer.lock to check it for CVE-2024-32479 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
There is improper sanitization on Service template name which is reflecting in delete button onclick event. This value can be modified and crafted as any other javascript code.
Vulnerable Code
Above is vulnerable code line which needs to be properly sanitized
PoC
- Go to /services/templates
- Enter name as
testing', '14', 'http://172.105.62.194:8000/services/templates/14');alert(1);// - Submit it and try to delete it, you will see popup
If you inspect element on delete button, you will notice this:-
Impact
Cross site scripting can lead to cookie stealing or an attacker can execute any other feature using this feature.
Advisory Timeline
- First published April 22, 2024 (948 days ago).
- Last revised September 10, 2026 — 870 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "librenms/librenms:^24.4.0"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: Packagist (1).
| Package | Fixed In |
|---|---|
| librenms/librenms Packagist · Affected: 1.19, 1.20, 1.20.1, 1.21 (+117 more) | 24.4.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-79Cross-site Scripting (XSS)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
References
- https://github.com/librenms/librenms/security/advisories/GHSA-72m9-7c8x-pmmwWEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-32479ADVISORY
- https://github.com/librenms/librenms/commit/19344f0584d4d6d4526fdf331adc60530e3f685bWEB
- https://github.com/librenms/librenmsPACKAGE
- https://github.com/librenms/librenms/blob/a61c11db7e8ef6a437ab55741658be2be7d14d34/app/Http/Controllers/ServiceTemplateController.php#L67C23-L67C23WEB
Frequently Asked Questions
- What is CVE-2024-32479?
- LibreNMS uses Improper Sanitization on Service template name leads to Stored XSS. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.1/10).
- How do I check if my project is affected by CVE-2024-32479?
- CVE-2024-32479 affects librenms/librenms. It has a 1.0% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-32479 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is an above-median EPSS score — 62.5% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2024-52526HIGH
LibreNMS has a Stored XSS ('Cross-site Scripting') in librenms/includes/html/pages/device/services.inc.php
- CVE-2026-55182HIGH
LibreNMS Vulnerable to Remote Code Execution by Signal Alert Transportation module
- CVE-2024-32461HIGH
LibreNMS vulnerable to SQL injection time-based leads to database extraction
- CVE-2024-50350HIGH
LibreNMS has a Stored XSS ('Cross-site Scripting') in librenms/app/Http/Controllers/Table/EditPortsController.php
- CVE-2026-26992MEDIUM
LibreNMS /port-groups name Stored Cross-Site Scripting
- CVE-2025-23200MEDIUM
LibreNMS Misc Section Stored Cross-site Scripting vulnerability
- CVE-2024-49758MEDIUM
LibreNMS has a stored XSS in ExamplePlugin with Device's Notes
- CVE-2025-68614MEDIUM
LibreNMS Alert Rule API Cross-Site Scripting Vulnerability