# CVE-2026-62948: OpenWrt odhcpd/LuCI: unauthenticated DHCPv6 client can inject lease-file lines via FQDN hostname → stored XSS in the LuCI admin UI

- Severity: Critical 9.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-15T17:50:43.790Z
- Modified: 2026-07-21T16:06:30.357Z
- Weaknesses: CWE-79, CWE-117, CWE-150
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- openwrt openwrt: < 25.12.5; before 25.12.5

## References

- <https://github.com/openwrt/openwrt/security/advisories/GHSA-hhmc-92hw-535f> (exploit, mitigation, vendor-advisory)
- <https://github.com/openwrt/odhcpd/pull/404> (issue-tracking, patch)
- <https://github.com/openwrt/luci/commit/55379d04fcc3c605003a5001d6135cf02ae6048a> (patch)
- <https://github.com/openwrt/odhcpd/commit/68f382690bfaec56d5b1f31c3c31c48bcb642e3a> (patch)
- <https://github.com/openwrt/openwrt/releases/tag/v25.12.5> (release-notes)

## Sources

- CVE List: [CVE-2026-62948](https://www.cve.org/CVERecord?id=CVE-2026-62948), CVE Terms of Use, modified 2026-07-15
- NVD: [CVE-2026-62948](https://nvd.nist.gov/vuln/detail/CVE-2026-62948), Public domain, modified 2026-07-21

---

Page: https://cve.day/CVE-2026-62948 · Whole record: https://cve.day/CVE-2026-62948.json · Rebuilt by cve.day 2026-11-25T22:59:28.327Z
