Skip to content

fix: add sandbox and CSP to playground preview iframe#3489

Merged
gavinbarron merged 1 commit into
mainfrom
fix/msrc-117698-block-untrusted-calls
May 20, 2026
Merged

fix: add sandbox and CSP to playground preview iframe#3489
gavinbarron merged 1 commit into
mainfrom
fix/msrc-117698-block-untrusted-calls

Conversation

@gavinbarron
Copy link
Copy Markdown
Member

Adds sandbox attribute and Content-Security-Policy meta tag to the playground preview iframe to block untrusted outbound network calls from user-supplied scripts.

Closes #3488

Closes #3488

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@gavinbarron gavinbarron requested a review from a team as a code owner May 20, 2026 16:26
@microsoft-github-policy-service
Copy link
Copy Markdown
Contributor

Thank you for creating a Pull Request @@gavinbarron.

This is a checklist for the PR reviewer(s) to complete before approving and merging this PR:

  • I have verified a documentation PR has been linked and is approved (or not applicable)
  • I have ran this PR locally and have tested the fix/feature
  • I have verified that stories have been added to storybook (or not applicable)
  • I have tested existing stories in storybook to verify no regression has occured
  • I have tested the solution in at least two browsers (Edge + 1 non-Chromium based browser)

@gavinbarron gavinbarron enabled auto-merge (squash) May 20, 2026 16:28
@gavinbarron gavinbarron disabled auto-merge May 20, 2026 16:28
@gavinbarron gavinbarron enabled auto-merge (squash) May 20, 2026 16:29
@github-project-automation github-project-automation Bot moved this to Done ✔️ in Graph Toolkit May 20, 2026
@gavinbarron gavinbarron merged commit 3bd07b9 into main May 20, 2026
9 of 10 checks passed
@gavinbarron gavinbarron deleted the fix/msrc-117698-block-untrusted-calls branch May 20, 2026 17:06
@github-project-automation github-project-automation Bot moved this from Done ✔️ to Shipped 🚀 in Graph Toolkit May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Shipped 🚀

Development

Successfully merging this pull request may close these issues.

MSRC 117698 - block untrusted calls

2 participants