CVE-2022-4067
Published: 20 November 2022
Summary
CVE-2022-4067 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Librenms Librenms. Its CVSS base score is 5.4 (Medium).
Operationally, ranked in the top 0.6% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
CVE-2022-4067 is a stored cross-site scripting vulnerability (CWE-79) affecting the LibreNMS network monitoring application in versions prior to 22.10.0. The flaw resides in the web interface and carries a CVSS 3.1 score of 5.4, reflecting network attack vector, low complexity, low privileges required, and user interaction needed for exploitation with changed scope but only limited impact on confidentiality and integrity.
An authenticated user with low-privileged access can inject persistent script payloads that are stored by the application and later executed in the browsers of other users who view the affected pages, enabling limited theft or manipulation of session data within the LibreNMS web UI.
The referenced GitHub commit (8e85698) and associated huntr.dev report document the remediation that was merged to address the input-handling issue; operators should upgrade to LibreNMS 22.10.0 or later to eliminate the vulnerable code paths.
The CVE maintains a high EPSS score (current 0.8528, peak 0.8733), indicating sustained exploitation interest after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-7412
Vulnerability details
Cross-site Scripting (XSS) - Stored in GitHub repository librenms/librenms prior to 22.10.0.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.
Validates web inputs to reject script-related content that could produce XSS.
Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.