Skip to main content
Mallory
← Back to News
internet-facing-service-vulnerabilitywidely-deployed-product-advisorydetection-content-updateidentity-authentication-vulnerability

Stored XSS in LibreNMS Legacy Templates Enables Admin Session Takeover

Vulnerability Disclosure · 3 sources · Updated 3mo ago · First seen Aug 26, 2026

Stored XSS in LibreNMS Legacy Templates Enables Admin Session Takeover

A high-severity stored cross-site scripting vulnerability, GHSA-7w8c-qgxg-m7jx (CWE-79), affects LibreNMS legacy PHP templates that render monitoring data without consistent output encoding. Attackers able to control SNMP metadata, spoof Syslog messages, or supply crafted BGP descriptions can store JavaScript payloads that execute when administrators view device-health, routing, or event-log pages, potentially compromising administrator browser sessions and enabling session takeover.

Organizations should update LibreNMS and related packages to version 26.5.0 or later; Tenable Cloud Security plugin 446367 can identify affected librenms/librenms deployments. Developers should apply contextual output encoding, including Laravel's e() helper or escaped Blade {{ ... }} syntax rather than raw output, and deploy a restrictive Content Security Policy as defense in depth. No known exploitation has been reported.

Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

2 events · Aug 26, 2026
  1. Aug 26, 20263mo ago

    Tenable publishes detection plugin for LibreNMS XSS

    Tenable published and updated Cloud Security SCA plugin 446367 to detect affected librenms/librenms installations associated with GHSA-7w8c-qgxg-m7jx.

    SCA: security update for librenms/librenms (GHSA-7w8c-qgxg-m7jx) | Tenable®
  2. Aug 26, 20263mo ago

    LibreNMS stored XSS vulnerability and patch published

    GHSA-7w8c-qgxg-m7jx, a high-severity stored cross-site scripting vulnerability in LibreNMS legacy templates handling SNMP and Syslog data, was published. Updating LibreNMS and related packages to version 26.5.0 or later remediates the issue; the referenced information reported no known exploits.

    GHSA-7W8C-QGXG-M7JX: GHSA-7W8C-QGXG-M7JX: Stored Cross-Site Scripting in LibreNMS Legacy Templates | CVEReports
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Librenms

Organizations

1 linked
Librenms
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.