{
  "id": "CVE-2026-70486",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-70486",
  "published_at": "2026-08-04T20:01:55.319Z",
  "title": "Open WebUI: Same-origin XSS to account takeover via terminal file-preview iframe hardcoding allow-same-origin",
  "vendor": "open-webui",
  "product": "open-webui",
  "cvss": {
    "score": 8.2,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. From 0.9.0 until 0.11.0, the terminal file-preview serveUrl iframe branch always granted allow-same-origin together with allow-scripts for HTML files served from the application origin. Any authenticated user with access to a configured terminal server could cause script in a previewed file to run in the Open WebUI origin, read the victim's session token from localStorage, and take over the account, with possible server-side code execution if the victim was an admin or held workspace.functions. This issue is fixed in 0.11.0.",
  "cwe": "CWE-79",
  "cpes": [
    "cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.2,
    "nvd": 5.4
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "open-webui",
        "product": "open-webui",
        "ranges": [
          "\u003e= 0.9.0, \u003c 0.11.0"
        ],
        "fixed_in": [
          "0.11.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade open-webui to 0.11.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/open-webui/open-webui/security/advisories/GHSA-3xpf-xq7r-v8c5"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/open-webui/open-webui/pull/26907"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/open-webui/open-webui/commit/65a5fad7b97db99d490d81f4e0860282c3a4543c"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/open-webui/open-webui/releases/tag/v0.11.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
