XSS in Librenms

CVE-2019-10670

An issue was discovered in LibreNMS through 1.47. Many of the scripts rely on the function mysqli_escape_real_string for filtering data. However, this is particularly ineffective when returning user supplied input in an HTML or a JavaScript context, resulting in unsafe data being injected into these contexts, leading to attacker controlled JavaScript executing in the browser. One example of this is the string parameter in html/pages/inventory.inc.php.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.008 (53.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2019-10670?
CVE-2019-10670 is a medium-severity vulnerability in Librenms, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2019-09-09.
How severe is CVE-2019-10670?
Medium severity. CVSS v3 base score is 6.1 out of 10.