LibreNMS Display Name 2 Stored Cross-site Scripting vulnerability
        
  Moderate severity
        
          GitHub Reviewed
      
        Published
          Jan 16, 2025 
          in
          
            librenms/librenms
          
          •
          Updated Apr 28, 2025 
      
  
Description
        Published to the GitHub Advisory Database
      Jan 16, 2025 
    
  
        Reviewed
      Jan 16, 2025 
    
  
        Published by the National Vulnerability Database
      Jan 16, 2025 
    
  
        Last updated
      Apr 28, 2025 
    
  
StoredXSS-LibreNMS-Display Name 2
Description:
XSS on the parameters (Replace $DEVICE_ID with your specific $DEVICE_ID value):
/device/$DEVICE_ID/edit-> param: displayof Librenms versions 24.11.0 (https://github.com/librenms/librenms) allows remote attackers to inject malicious scripts. When a user views or interacts with the page displaying the data, the malicious script executes immediately, leading to potential unauthorized actions or data exposure.
Proof of Concept:
"><img src onerror="alert(document.cookie)">.Impact:
Execution of Malicious Code
References