Skip to content

Commit

Permalink
Gen1 SDKs: Fix: XSS exploit (#3727)
Browse files Browse the repository at this point in the history
## Description

- disable editing unless within an iframe
  • Loading branch information
samijaber authored Nov 9, 2024
1 parent 152eff8 commit dda2ba4
Show file tree
Hide file tree
Showing 16 changed files with 731 additions and 265 deletions.
5 changes: 5 additions & 0 deletions .changeset/blue-pots-tie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@builder.io/react": patch
---

Fix: Add `trustedHost` checks to all remaining event listeners
6 changes: 6 additions & 0 deletions .changeset/five-wombats-peel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@builder.io/react": patch
"@builder.io/sdk": patch
---

Fix: Restrict event listening to when `isEditing === true`
1 change: 1 addition & 0 deletions examples/react-js/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ dist-ssr
*.njsproj
*.sln
*.sw?
.vercel
Loading

0 comments on commit dda2ba4

Please sign in to comment.