CVE-2026-61876

LuCI DHCPv6 Lease Hostname Stored Cross-Site Scripting

Published Jul 12, 2026 CVSS 4.0 · 9.4 Critical EPSS 1.6% KEV · Not listed
Description
LuCI versions fail to properly encode DHCPv6 lease hostnames before rendering in status tables, allowing adjacent network attackers to inject HTML markup. Attackers can send a DHCPv6 Client FQDN containing script tags that execute in the administrator's browser when viewing DHCP lease pages.

Analysis

AI-generated

Technical impact

The vulnerability arises because the LuCI interface does not encode DHCPv6 lease hostnames before rendering them in status tables. An attacker on a nearby network can send a DHCPv6 packet with a client FQDN that contains script tags or other HTML markup. When an administrator views the DHCP lease page, the malicious content is rendered and the embedded script runs in the admin’s browser, allowing the attacker to execute arbitrary client‑side code with the privileges of the browser session.

Affected Systems

The issue affects the OpenWrt LuCI web interface, specifically the modules that display DHCPv6 lease information. No specific version numbers are listed in the advisory, so any OpenWrt release that includes the affected LuCI code is considered vulnerable.

Risk and Exploitability

With a CVSS score of 9.4 the vulnerability is considered critical. The EPSS score is <1%, indicating a low probability of exploitation, but the lack of a KEV listing does not reduce the likelihood of exploitation; adjacent network attackers can exploit it by simply broadcasting a crafted DHCPv6 message over the local network, which most router configurations allow by default.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update OpenWrt to the latest release or apply the LuCI patch provided by the vendor.
  • Configure the DHCPv6 server to accept only properly encoded FQDNs or discard packets containing script tags, effectively preventing the storage of malicious hostnames.
  • Add firewall rules to block adjacent hosts from sending unsolicited DHCPv6 packets, or enable the router’s DHCP snooping features to limit DHCP traffic to known devices.

Generated by OpenCVE AI on August 1, 2026 at 11:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:2.3:a:openwrt:luci:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Openwrt
Openwrt luci
Vendors & Products Openwrt
Openwrt luci
Type Values Removed Values Added
Description LuCI versions fail to properly encode DHCPv6 lease hostnames before rendering in status tables, allowing adjacent network attackers to inject HTML markup. Attackers can send a DHCPv6 Client FQDN containing script tags that execute in the administrator's browser when viewing DHCP lease pages.
Title LuCI DHCPv6 Lease Hostname Stored Cross-Site Scripting
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.4, 'vector': 'CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 14, 2026, 10:03 PM
Reserved
Jul 10, 2026, 9:54 PM
Status
Awaiting Analysis
Published
Jul 12, 2026, 12:16 PM
Modified
Oct 24, 2026, 10:10 PM