An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS04cGhyLTYzN2ctcHhyZ84AA3P2

LibreNMS Cross-site Scripting at Device groups Deletion feature


XSS attacks occurs when application is not sanitising inputs properly and rendering the code from user input to browser which could allow an attacker to execute malicious javascript code.


  1. Login
  2. Create a device group in /device-groups
  3. Name it as "><img src=x onerror=alert(1);>
  4. save it
  5. Go to services and create a service template and add that device group into that and save it
  6. After that go back to device groups and delete that device, you will see XSS payload popup in message

Vulnerable code:

Line 173 is not sanitizing device name properly


Cross site scripting can lead to cookie stealing attacks

Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 11 days ago
Updated: 11 days ago

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

Identifiers: GHSA-8phr-637g-pxrg, CVE-2023-48295

Affected Packages

Versions: < 23.11.0
Fixed in: 23.11.0