NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2025-62365: LibreNMS is vulnerable to Reflected-XSS in `report_this` function

mediumCVSS 4.0 5.5GHSA-86rg-8hc8-v82p

Summary Reflected-XSS in reportthis function in librenms/includes/functions.php Details Recently, it was discovered that the reportthis function had improper filtering (htmlentities function was incorrectly used in a href environment), which caused the projectissues parameter to trigger an XSS vulnerability.

Published Oct 13, 2025 · Updated Oct 14, 2025

Affected packages

librenms/librenms

Ecosystem
Composer (PHP)
Affected
<= 25.6.0
Fixed in
25.7.0
Check
composer show librenms/librenms

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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:.

Credited to GatekeeperBuster.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries