CVE-2026-62948 Cross-site scripting in openwrt
Unauthenticated DHCPv6 clients can inject malicious HTML into lease files, leading to stored XSS in the LuCI admin interface.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-62948?
CVE-2026-62948 is a critical cross-site scripting vulnerability in Openwrt Openwrt, published on 15 Jul 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Which versions are affected by CVE-2026-62948?
It affects 1 product.
Products include Openwrt Openwrt.
How do I fix CVE-2026-62948?
No fix has been published for CVE-2026-62948 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-62948 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-62948 exists.
Other vulnerabilities in Openwrt Openwrt
- CVE-2020-28951 Use after free in n/a
- CVE-2026-30871 OpenWrt Project has Stack-based Buffer Overflow in DNS PTR Query
- CVE-2026-30872 OpenWrt Project has a Stack-based Buffer Overflow vulnerability via IPv6 reverse DNS lookup
- CVE-2021-28961 Command injection in n/a
- CVE-2019-17367 Cross-site request forgery in n/a
Sources
Also known as GHSA-hhmc-92hw-535f.