{"id":"CVE-2024-47526","published":"2024-10-01T20:25:39Z","modified":"2024-10-02T13:03:02Z","title":"LibreNMS has a Self-XSS ('Cross-site Scripting') in librenms/includes/html/modal/alert_template.inc.php","vendor":"librenms","product":"librenms","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.5,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00481,"percentile":0.42423,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/librenms/librenms/security/advisories/GHSA-gcgp-q2jq-fw52","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/librenms/librenms/commit/f259edc19b9f0ccca484c60b1ba70a0bfff97ef5","tags":["x_refsource_MISC"]},{"url":"https://github.com/librenms/librenms/blob/0e741e365aa974a74aee6b43d1b4b759158a5c7e/includes/html/forms/alert-templates.inc.php#L40","tags":["x_refsource_MISC"]},{"url":"https://github.com/librenms/librenms/blob/0e741e365aa974a74aee6b43d1b4b759158a5c7e/includes/html/modal/alert_template.inc.php#L205","tags":["x_refsource_MISC"]}],"priority":{"score":10.9,"factors":[{"name":"EPSS percentile","points":8.48},{"name":"CVSS severity","points":2.45}]},"vendorSlug":"librenms","affectedVersions":[{"vendor":"librenms","product":"librenms","versions":["< 24.9.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-02T13:02:06.373020Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"librenms/librenms","vulnerableRanges":["<24.9.0"],"patched":["24.9.0"],"from":["GHSA-gcgp-q2jq-fw52"],"provenance":"source"}],"summary":{"text":"A cross-site scripting flaw exists in the Alert Templates feature of LibreNMS, specifically in the librenms/includes/html/modal/alert_template.inc.php component, where the template name is not properly neutralised. An attacker who can submit an alert template name, with high privileges and the cooperation of a user interacting with the page, can inject JavaScript that runs immediately on submission in that user's session, though the payload is not stored and does not persist after a page refresh.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:04:04Z"},"euvd":{"id":"EUVD-2024-3047","exploited":false,"provenance":"source"}}