CVE-2024-51496
PHP vulnerability analysis and mitigation

Overview

LibreNMS, an open-source, PHP/MySQL/SNMP-based network monitoring system, contains a Reflected Cross-Site Scripting (XSS) vulnerability identified as CVE-2024-51496. The vulnerability was discovered in the "metric" parameter of the "/wireless" and "/health" endpoints, allowing attackers to inject arbitrary JavaScript. This security issue was fixed in version 24.10.0 (GitHub Advisory).

Technical details

The vulnerability exists due to improper sanitization of the "metric" parameter in the wireless.inc.php and health.inc.php files. When a user accesses the page with a malicious "metric" parameter, the injected JavaScript code executes in the context of the user's session. The vulnerability has been assigned a CVSS v3.1 base score of 5.4 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N (NVD).

Impact

The successful exploitation of this vulnerability could result in the execution of malicious code when a user accesses the affected pages with a crafted "metric" parameter. This can potentially lead to session compromise and unauthorized actions being performed in the context of the affected user's session (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in LibreNMS version 24.10.0. Users are advised to upgrade to this version or later to protect against this security issue (GitHub Advisory, GitHub Patch).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13828CRITICAL9
  • PHPPHP
  • mautic/core
NoYesDec 02, 2025
CVE-2025-13827HIGH8.8
  • PHPPHP
  • mautic/grapes-js-builder-bundle
NoYesDec 02, 2025
CVE-2025-66312MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66311MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66310MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management