OpenWrt
OpenWrt odhcpd/LuCI: unauthenticated DHCPv6 client can inject lease-file lines via FQDN hostname → stored XSS in the LuCI admin UI
Edge device · Router / network deviceknown edge product: openwrt openwrt OpenWrt odhcpd/LuCI: unauthenticated DHCPv6 client (high confidence)
OpenWrt is a Linux operating system targeting embedded devices. Prior to 25.12.5, odhcpd writes a DHCPv6 client FQDN option 39 hostname into /tmp/odhcpd.leases through src/statefiles.c statefiles_write_state6() and statefiles_write_state4() without escaping, allowing newline injection of forged lease lines that LuCI rpcd-mod-luci getDHCPLeases displays through htdocs/luci-static/resources/view/status/include/40_dhcp.js and htdocs/luci-static/resources/luci.js dom.append as live HTML in the Active DHCPv6 Leases admin page. This vulnerability is fixed in 25.12.5.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 25.12.5
Fixed in 25.12.5
Mitigation
Upgrade openwrt to 25.12.5 or later.
References
- Vendor advisory github.com/openwrt/openwrt/security/advisories…
- Patch github.com/openwrt/odhcpd/pull/404
- Patch github.com/openwrt/luci/commit/55379d04fcc3c60…
2 more
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.