{"id":"CVE-2026-62948","summary":"OpenWrt odhcpd/LuCI: unauthenticated DHCPv6 client can inject lease-file lines via FQDN hostname → stored XSS in the LuCI admin UI","details":"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.","aliases":["GHSA-hhmc-92hw-535f"],"modified":"2026-08-12T03:51:08.812446484Z","published":"2026-07-15T17:50:43.790Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-117","CWE-150","CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62948.json"},"references":[{"type":"WEB","url":"https://github.com/openwrt/openwrt/releases/tag/v25.12.5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62948.json"},{"type":"ADVISORY","url":"https://github.com/openwrt/openwrt/security/advisories/GHSA-hhmc-92hw-535f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62948"},{"type":"FIX","url":"https://github.com/openwrt/luci/commit/55379d04fcc3c605003a5001d6135cf02ae6048a"},{"type":"FIX","url":"https://github.com/openwrt/odhcpd/commit/68f382690bfaec56d5b1f31c3c31c48bcb642e3a"},{"type":"FIX","url":"https://github.com/openwrt/odhcpd/pull/404"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openwrt/openwrt","events":[{"introduced":"0"},{"fixed":"f0a60eee2fe051741c643ea6118718aae1ef17fb"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"25.12.5"}],"source":"AFFECTED_FIELD"}}],"versions":["v25.12.4","v25.12.3","v25.12.2","v25.12.1","v25.12.0","v25.12.0-rc5","v25.12.0-rc4","v25.12.0-rc3","v25.12.0-rc2","v25.12.0-rc1","reboot"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62948.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"}]}