[GH-ISSUE #20483] issue: iFrame sandbox settings always on allow-same-origin, allow-scripts #34725

Closed
opened 2026-04-25 08:50:09 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @HCAHofm on GitHub (Jan 8, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/20483

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

0.6.43

Ollama Version (if applicable)

No response

Operating System

Ubuntu

Browser (if applicable)

Firefox, Edge

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

When toggling the user setting about
iframe sandbox allow same origin
and iframe sandbox allow forms
to off, the actual behavior should follow

Actual Behavior

When toggling the both iframe sandbox options off, the Firefox Inspect Element stil says
sandbox="allow-scripts allow-forms allow-same-origin allow-popups allow-downloads"
for the iFrame. (see screenshot)

I was also surprised that the settings for allow-same-origin are set be the user instead of the admin.

Steps to Reproduce

  1. Start open webui Docker after updating.
  2. open user settings > Interface and turn off toggles for iframe sandbox named in the description
  3. start a tool using rich-ui Element in iFrame
  4. checking the sandbox settings with firefox inspect in the iframe

Logs & Screenshots

Image

Tool with rich-ui Element

Image

Additional Information

No response

Originally created by @HCAHofm on GitHub (Jan 8, 2026). Original GitHub issue: https://github.com/open-webui/open-webui/issues/20483 ### Check Existing Issues - [x] I have searched for any existing and/or related issues. - [x] I have searched for any existing and/or related discussions. - [x] I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!). - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version 0.6.43 ### Ollama Version (if applicable) _No response_ ### Operating System Ubuntu ### Browser (if applicable) Firefox, Edge ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior When toggling the user setting about iframe sandbox allow same origin and iframe sandbox allow forms to off, the actual behavior should follow ### Actual Behavior When toggling the both iframe sandbox options off, the Firefox Inspect Element stil says sandbox="allow-scripts allow-forms allow-same-origin allow-popups allow-downloads" for the iFrame. (see screenshot) I was also surprised that the settings for allow-same-origin are set be the user instead of the admin. ### Steps to Reproduce 1. Start open webui Docker after updating. 2. open user settings > Interface and turn off toggles for iframe sandbox named in the description 3. start a tool using rich-ui Element in iFrame 4. checking the sandbox settings with firefox inspect in the iframe ### Logs & Screenshots <img width="661" height="36" alt="Image" src="https://github.com/user-attachments/assets/f3947b90-73b2-41de-84c5-038362c20d44" /> Tool with rich-ui Element <img width="763" height="641" alt="Image" src="https://github.com/user-attachments/assets/61759af7-2dfe-4b15-9ee6-75fea71d03df" /> ### Additional Information _No response_
GiteaMirror added the bug label 2026-04-25 08:50:09 -05:00
Author
Owner

@Classic298 commented on GitHub (Jan 8, 2026):

should be fixed in dev

<!-- gh-comment-id:3723514280 --> @Classic298 commented on GitHub (Jan 8, 2026): should be fixed in dev
Author
Owner
<!-- gh-comment-id:3723518098 --> @Classic298 commented on GitHub (Jan 8, 2026): https://github.com/open-webui/open-webui/pull/20210/changes https://github.com/open-webui/open-webui/pull/20209/changes Feel free to verify
Author
Owner

@HCAHofm commented on GitHub (Jan 8, 2026):

Nice thanks

<!-- gh-comment-id:3726110527 --> @HCAHofm commented on GitHub (Jan 8, 2026): Nice thanks
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#34725