Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. open-webui
  4. ›
  5. CVE-2026-87995

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

September 10, 2026

Any authenticated user with access to a shared terminal server could get script of their choosing to run in the Open WebUI origin itself. The in-app port preview rendered the content of a previewed port in an iframe whose sandbox always granted allow-same-origin alongside allow-scripts, and that content is served from a path on the application’s own origin, so the sandbox provided no isolation at all. Script served on a previewed port could read the victim’s session token and take over the account.

References

  • github.com/advisories/GHSA-jmc6-2wr8-h3wj
  • github.com/open-webui/open-webui/commit/54d7a223707f03172efbb9e754db6e69709956d0
  • github.com/open-webui/open-webui/releases/tag/v0.11.1
  • github.com/open-webui/open-webui/security/advisories/GHSA-jmc6-2wr8-h3wj
  • nvd.nist.gov/vuln/detail/CVE-2026-87995

Code Behaviors & Features

Detect and mitigate CVE-2026-87995 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.8.11 before 0.11.1

Fixed versions

  • 0.11.1

Solution

Upgrade to version 0.11.1 or above.

Impact 8.7 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-1021: Improper Restriction of Rendered UI Layers or Frames
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

pypi/open-webui/CVE-2026-87995.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:21:29 +0000.