{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0.56.0"
              },
              {
                "fixed": "0.166.0"
              },
              {
                "introduced": "v0.56.0"
              },
              {
                "fixed": "v0.165.x"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION"
            ]
          },
          "events": [
            {
              "introduced": "45f4eb9846d05fd25d482605c508c0a8d1e04c8e"
            },
            {
              "fixed": "78400b4de8adc99273d3e674ed6c4d14c3bdf669"
            }
          ],
          "repo": "https://github.com/gohugoio/hugo",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-pq74-mj4h-cjq2"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100694.json"
  },
  "details": "Hugo is a static site generator. In versions from v0.56.0 through v0.165.x, content files mapped to the text/org media type are rendered without escaping raw HTML: Org export blocks and @@html:...@@ snippets pass HTML through unescaped, resulting in cross-site scripting (XSS) in the generated site. An attacker who can supply or influence a content file under /content or the output of a content adapter can inject scripts that execute in the browsers of visitors to the affected pages. Only pages whose source file or content-adapter output declares the text/org media type are affected, and sites that fully trust all content sources are not impacted. Version v0.166.0 fixes the issue by introducing a security.allowContent allowlist that denies text/org by default; sites that intentionally author Org Mode content can opt back in with [security] allowContent = ['.*'].",
  "id": "CVE-2026-100694",
  "modified": "2026-09-28T03:30:58.193473715Z",
  "published": "2026-09-26T13:23:52.256Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100694.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/gohugoio/hugo/security/advisories/GHSA-pq74-mj4h-cjq2"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-100694"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/hugo-before-0.166.0-cross-site-scripting-via-text-org"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Hugo before 0.166.0 Cross-Site Scripting via text/org"
}