{
  "id": "CVE-2026-87995",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-87995",
  "published_at": "2026-09-09T21:26:30.89Z",
  "title": "Open WebUI: Same-origin XSS to account takeover via terminal port-preview iframe hardcoding allow-same-origin",
  "vendor": "open-webui",
  "product": "open-webui",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/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.8.11 until 0.11.1, src/lib/components/chat/FileNav/PortPreview.svelte rendered terminal port content in an iframe sandbox containing both allow-scripts and allow-same-origin. Because the terminal proxy serves that content from the Open WebUI origin, an authenticated user with access to a shared terminal server could host script on a previewed port and take over a victim's account when the victim opened the preview. This issue is fixed in version 0.11.1.",
  "cwe": "CWE-79",
  "cpes": [
    "cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "open-webui",
        "product": "open-webui",
        "ranges": [
          "\u003e= 0.8.11, \u003c 0.11.1"
        ],
        "fixed_in": [
          "0.11.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade open-webui to 0.11.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/open-webui/open-webui/security/advisories/GHSA-jmc6-2wr8-h3wj"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/open-webui/open-webui/commit/54d7a223707f03172efbb9e754db6e69709956d0"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/open-webui/open-webui/releases/tag/v0.11.1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
