ZeroHour

CVE-2025-23200

PoC large

Stored XSS in LibreNMS ajax_form.php 'state' Parameter

CVSS 3.1
5.4 medium
EPSS
31%p98
Published
()
Modified
AI analysis

LibreNMS versions up to 24.10.1 are vulnerable to a stored cross-site scripting (XSS) flaw (CWE-79) in the 'state' parameter of ajax_form.php. An attacker with a low-privileged account can inject malicious script content into this parameter; the payload is stored and executes immediately when another user views or interacts with the affected page. On execution, the attacker can run script in the victim's LibreNMS session, enabling unauthorized actions within the monitoring platform and exposure of data the victim can access (CVSS scope is changed, so impact can cross security contexts). All LibreNMS deployments running 24.10.1 or earlier are affected. There is no confirmed in-the-wild exploitation yet, but a public proof-of-concept exists in the vendor's GitHub advisory and EPSS assigns a high 30.9% probability of exploitation within 30 days.

What to do: Upgrade to LibreNMS 24.11.0 or later; there are no known workarounds, so patching is the primary fix. In the meantime, limit which low-privileged accounts can submit values to ajax_form.php, review stored state data and logs for injected script payloads, and consider a restrictive Content-Security-Policy as defense-in-depth. Note the flaw requires authenticated (low-privilege) access and user interaction, so prioritize patches on systems exposed to untrusted or shared users.

Affected
librenmsAll versions through 24.10.1 (fixed in 24.11.0)
Estimated exposure
largelow tens of thousands of deployments (tens of thousands of instances worldwide; thousands internet-exposed) — LibreNMS is one of the most widely deployed open-source network monitoring platforms among ISPs, enterprises and universities, with public internet scans showing thousands of exposed instances, implying a larger total including…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

librenms is a community-based GPL-licensed network monitoring system. Affected versions are subject to a stored XSS on the parameter: `ajax_form.php` -> param: state. Librenms versions up to 24.10.1 allow remote attackers to inject malicious scripts. When a user views or interacts with the page displaying the data, the malicious script executes immediately, leading to potential unauthorized actions or data exposure. This issue has been addressed in release version 24.11.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Vendors
librenms
Products
librenms
Weakness
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

In the news

No ingested article mentions this CVE yet.