{"id":"CVE-2026-62948","aliases":["CVE-2026-62948"],"related":[],"kind":"vulnerability","state":"published","title":"OpenWrt odhcpd/LuCI: unauthenticated DHCPv6 client can inject lease-file lines via FQDN hostname → stored XSS in the LuCI admin UI","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-07-15T17:50:43.790Z","modified":"2026-07-21T16:06:30.357Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.6,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.6,"rating":"CRITICAL"}],"cwes":["CWE-79","CWE-117","CWE-150"],"affected":[{"ranges":[{"version":"< 25.12.5","status":"affected"}],"vendor":"openwrt","product":"openwrt","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"25.12.5"}],"vendor":"openwrt","product":"openwrt","cpe":"cpe:2.3:o:openwrt:openwrt:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/openwrt/openwrt/security/advisories/GHSA-hhmc-92hw-535f","tags":["exploit","mitigation","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/openwrt/odhcpd/pull/404","tags":["issue-tracking","patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/openwrt/luci/commit/55379d04fcc3c605003a5001d6135cf02ae6048a","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/openwrt/odhcpd/commit/68f382690bfaec56d5b1f31c3c31c48bcb642e3a","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/openwrt/openwrt/releases/tag/v25.12.5","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-07-15T18:08:14.354Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-62948","url":"https://www.cve.org/CVERecord?id=CVE-2026-62948","licence":"CVE Terms of Use","modified":"2026-07-15T18:08:36.882Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-62948","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62948","licence":"Public domain","modified":"2026-07-21T16:06:30.357Z"}],"updatedAt":"2026-11-25T22:59:28.327Z","epss":{"score":0.00422,"percentile":0.38438,"date":"2026-12-01T12:00:22.000Z"}}