Description
LibreNMS through 26.4.0 renders JSON fields (name, ip, model, author, commit message) returned by the admin-configurable Oxidized integration URL (oxidized.url) into the device showconfig page without applying htmlspecialchars(). An administrator who points the Oxidized URL at an attacker-controlled server (SSRF) can cause it to return malicious JSON, resulting in stored/persistent cross-site scripting affecting all users who view any device's showconfig tab. Fixed in 26.7.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| librenms | librenms | < 26.7.0 | 26.7.0 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | librenms/librenms | < 26.7.0 | 26.7.0 | GHSA-7gww-x7fh-jf9j |
References
- GitHub Security Advisory (GHSA-7gww-x7fh-jf9j) vendor-advisory
- VulnCheck Advisory: LibreNMS before 26.7.0 Stored XSS via Oxidized API third-party-advisory