p PatchFirst

CVE-2026-87995

CVE-2026-87995 · Open WebUI: Same-origin XSS to account takeover via terminal port-preview iframe hardcoding allow-same-origin

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.7 · High · EPSS 0.4% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • open-webui

    Versions
    • >= 0.8.11, < 0.11.1: Affected

    No fix published

  • open-webui PyPI

    Versions
    • 0.10.0
    • 0.10.1
    • 0.10.2
    • 0.11.0
    • 0.8.11
    • 0.8.12
    • 0.9.0
    • 0.9.1
    • 0.9.2
    • 0.9.3
    • 0.9.4
    • 0.9.5
    • 0.9.6
    Affected ranges
    • ECOSYSTEM: ≥ 0.8.11, < 0.11.1

    Update to 0.11.1

Original sources

Check your server →