{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "55379d04fcc3c605003a5001d6135cf02ae6048a"
            }
          ],
          "repo": "https://github.com/openwrt/luci",
          "type": "GIT"
        },
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "68f382690bfaec56d5b1f31c3c31c48bcb642e3a"
            }
          ],
          "repo": "https://github.com/openwrt/odhcpd",
          "type": "GIT"
        },
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "25.12.5"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "f0a60eee2fe051741c643ea6118718aae1ef17fb"
            }
          ],
          "repo": "https://github.com/openwrt/openwrt",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-hhmc-92hw-535f"
  ],
  "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"
  },
  "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.",
  "id": "CVE-2026-62948",
  "modified": "2026-07-17T03:42:07.028373679Z",
  "published": "2026-07-15T17:50:43.790Z",
  "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"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "OpenWrt odhcpd/LuCI: unauthenticated DHCPv6 client can inject lease-file lines via FQDN hostname → stored XSS in the LuCI admin UI"
}