# CVE-2024-47526: LibreNMS has a Self-XSS ('Cross-site Scripting') in librenms/includes/html/modal/alert_template.inc.php

- Severity: Low 3.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-10-01T20:25:39.378Z
- Modified: 2026-06-17T07:57:14.467Z
- Also known as: GHSA-gcgp-q2jq-fw52
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

LibreNMS is an open-source, PHP/MySQL/SNMP-based network monitoring system. A Self Cross-Site Scripting (Self-XSS) vulnerability in the "Alert Templates" feature allows users to inject arbitrary JavaScript into the alert template's name. This script executes immediately upon submission but does not persist after a page refresh.

(As written by CVE List.)

## Affected

- librenms librenms: < 24.9.0; before 24.9.0
- librenms/librenms (Packagist): before 24.9.0

## Every score

- GitHub_M: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P`
- NVD: CVSS:3.1 2.4 Low `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:N`

## References

- <https://github.com/librenms/librenms/security/advisories/GHSA-gcgp-q2jq-fw52> (exploit, product, web)
- <https://github.com/librenms/librenms/commit/f259edc19b9f0ccca484c60b1ba70a0bfff97ef5> (patch, web)
- <https://github.com/librenms/librenms/blob/0e741e365aa974a74aee6b43d1b4b759158a5c7e/includes/html/forms/alert-templates.inc.php#L40> (product, web)
- <https://github.com/librenms/librenms/blob/0e741e365aa974a74aee6b43d1b4b759158a5c7e/includes/html/modal/alert_template.inc.php#L205> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-47526> (advisory)
- <https://github.com/librenms/librenms> (package)

## Sources

- CVE List: [CVE-2024-47526](https://www.cve.org/CVERecord?id=CVE-2024-47526), CVE Terms of Use, modified 2024-10-02
- GitHub Advisory Database: [GHSA-gcgp-q2jq-fw52](https://github.com/advisories/GHSA-gcgp-q2jq-fw52), CC-BY-4.0, modified 2024-10-01
- NVD: [CVE-2024-47526](https://nvd.nist.gov/vuln/detail/CVE-2024-47526), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-47526 · Whole record: https://cve.day/CVE-2024-47526.json · Rebuilt by cve.day 2026-11-25T22:58:45.946Z
