MEDIUM5.3
GHSA-gqx7-99jw-6fpr
LibreNMS affected by reflected xss via email field
Quick fix
GHSA-gqx7-99jw-6fpr — librenms/librenms: upgrade to the fixed version with the command below.
composer require librenms/librenms:^26.2.0Details
### Summary reflected xss via email field
### Details 1. visit `http://127.0.0.1/settings/alerting/email` 2. in the email address input but this payload `<img src=1 onerror=alert(document.cookie)>` 3. notice the alert ### PoC - video attached with the report https://github.com/user-attachments/assets/c1b443f5-85c6-4545-b04f-def06d82b42e
### Impact can lead to ATO
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/librenms/librenms
Introduced in:
0Fixed in: 26.2.0Fix
composer require librenms/librenms:^26.2.0References
- https://github.com/librenms/librenms/security/advisories/GHSA-gqx7-99jw-6fpr[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2026-26987[ADVISORY]
- https://github.com/librenms/librenms/pull/19038[WEB]
- https://github.com/librenms/librenms/commit/8e626b38ef92e240532cdac2ac7e38706a71208b[WEB]
- https://github.com/librenms/librenms[PACKAGE]
- https://github.com/librenms/librenms/releases/tag/26.2.0[WEB]