Skip to main content

CVE-2024-32479 — Vulnerability in librenms/librenms — CVE Details

HIGH

LibreNMS uses Improper Sanitization on Service template name leads to Stored XSS

Published April 22, 2024Updated September 10, 2026Source: OSV

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.

Check my composer.lock

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

https://github.com/librenms/librenms/blob/a61c11db7e8ef6a437ab55741658be2be7d14d34/app/Http/Controllers/ServiceTemplateController.php#L67C23-L67C23

Above is vulnerable code line which needs to be properly sanitized

PoC

  1. Go to /services/templates
  2. Enter name as testing', '14', 'http://172.105.62.194:8000/services/templates/14');alert(1);//
  3. 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
Update librenms/librenms to 24.4.0 or later
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).

PackageFixed 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-79
    Cross-site Scripting (XSS)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

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

CVSS Score
7.1

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
1.02%
EPSS percentile: 62.5

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

GHSA-72m9-7c8x-pmmw

Related CVEs

  • CVE-2024-52526
    HIGH

    LibreNMS has a Stored XSS ('Cross-site Scripting') in librenms/includes/html/pages/device/services.inc.php

  • CVE-2026-55182
    HIGH

    LibreNMS Vulnerable to Remote Code Execution by Signal Alert Transportation module

  • CVE-2024-32461
    HIGH

    LibreNMS vulnerable to SQL injection time-based leads to database extraction

  • CVE-2024-50350
    HIGH

    LibreNMS has a Stored XSS ('Cross-site Scripting') in librenms/app/Http/Controllers/Table/EditPortsController.php

  • CVE-2026-26992
    MEDIUM

    LibreNMS /port-groups name Stored Cross-Site Scripting

  • CVE-2025-23200
    MEDIUM

    LibreNMS Misc Section Stored Cross-site Scripting vulnerability

  • CVE-2024-49758
    MEDIUM

    LibreNMS has a stored XSS in ExamplePlugin with Device's Notes

  • CVE-2025-68614
    MEDIUM

    LibreNMS Alert Rule API Cross-Site Scripting Vulnerability

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my composer.lock