Skip to content

Commit 7832120

Browse files
committed
fix: SidePanelDocumentation - add referrerPolicy attribute to iframe for enhanced security
1 parent 966e867 commit 7832120

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/common/SidePanel/SidePanelDocumentation.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ export const SidePanelDocumentation = ({ onClose }: SidePanelDocumentationProps)
7171
height="100%"
7272
allow="clipboard-read; clipboard-write"
7373
sandbox="allow-same-origin allow-scripts allow-popups"
74+
referrerPolicy="strict-origin"
7475
/>
7576
)}
7677
</div>

0 commit comments

Comments
 (0)