Advisory

GHSA-86rg-8hc8-v82p

Also known as: CVE-2025-62365

Summary

LibreNMS is vulnerable to Reflected-XSS in report_this function

Details

Summary
Reflected-XSS in report_this function in librenms/includes/functions.php

Details
Recently, it was discovered that the report_this function had improper filtering (htmlentities function was incorrectly used in a href environment), which caused the project_issues parameter to trigger an XSS vulnerability.

The Vulnerable Sink:
https://github.com/librenms/librenms/blob/master/includes/functions.php#L444

PoC
GET
project_issues=javascript:alert(document.cookie)

Impact
XSS vulnerabilities allow attackers to execute malicious scripts in users' browsers, enabling unauthorized access to sensitive data, session hijacking, or malware distribution.

Suggestion
It is recommended to filter dangerous protocols, e.g. javascript:/file:.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-10-13 22:11 UTC
Modified
2025-10-14 01:25 UTC

Affected packages and fixes

librenms/librenms

Packagist · All systems

Affected

  • introduced 0, fixed 25.7.0 (ecosystem)

Fixed versions

25.7.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences