{"id":"CVE-2026-62948","state":"PUBLISHED","title":"OpenWrt odhcpd/LuCI: unauthenticated DHCPv6 client can inject lease-file lines via FQDN hostname → stored XSS in the LuCI admin UI","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.","publishedAt":"2026-07-15T17:50:43.790Z","updatedAt":"2026-07-15T18:08:36.882Z","severity":{"score":9.6,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["openwrt openwrt"],"affected":[{"vendor":"openwrt","product":"openwrt","versions":[{"version":"< 25.12.5","status":"affected"}]}],"references":["https://github.com/openwrt/openwrt/security/advisories/GHSA-hhmc-92hw-535f","https://github.com/openwrt/odhcpd/pull/404","https://github.com/openwrt/luci/commit/55379d04fcc3c605003a5001d6135cf02ae6048a","https://github.com/openwrt/odhcpd/commit/68f382690bfaec56d5b1f31c3c31c48bcb642e3a","https://github.com/openwrt/openwrt/releases/tag/v25.12.5"],"weaknesses":["CWE-79","CWE-117","CWE-150"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/62xxx/CVE-2026-62948.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-62948","state":"PUBLISHED","datePublished":"2026-07-15T17:50:43.790Z","dateUpdated":"2026-07-15T18:08:36.882Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-14T22:32:17.731Z"},"containers":{"cna":{"title":"OpenWrt odhcpd/LuCI: unauthenticated DHCPv6 client can inject lease-file lines via FQDN hostname → stored XSS in the LuCI admin UI","descriptions":[{"lang":"en","value":"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":[{"vendor":"openwrt","product":"openwrt","versions":[{"version":"< 25.12.5","status":"affected"}]}],"references":[{"url":"https://github.com/openwrt/openwrt/security/advisories/GHSA-hhmc-92hw-535f","name":"https://github.com/openwrt/openwrt/security/advisories/GHSA-hhmc-92hw-535f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/openwrt/odhcpd/pull/404","name":"https://github.com/openwrt/odhcpd/pull/404","tags":["x_refsource_MISC"]},{"url":"https://github.com/openwrt/luci/commit/55379d04fcc3c605003a5001d6135cf02ae6048a","name":"https://github.com/openwrt/luci/commit/55379d04fcc3c605003a5001d6135cf02ae6048a","tags":["x_refsource_MISC"]},{"url":"https://github.com/openwrt/odhcpd/commit/68f382690bfaec56d5b1f31c3c31c48bcb642e3a","name":"https://github.com/openwrt/odhcpd/commit/68f382690bfaec56d5b1f31c3c31c48bcb642e3a","tags":["x_refsource_MISC"]},{"url":"https://github.com/openwrt/openwrt/releases/tag/v25.12.5","name":"https://github.com/openwrt/openwrt/releases/tag/v25.12.5","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.6,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-117","lang":"en","description":"CWE-117: Improper Output Neutralization for Logs","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-150","lang":"en","description":"CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-15T17:50:43.790Z"},"source":{"advisory":"GHSA-hhmc-92hw-535f","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/openwrt/openwrt/security/advisories/GHSA-hhmc-92hw-535f","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-15T18:08:14.354771Z","id":"CVE-2026-62948","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-15T18:08:36.882Z"}}]}}}