Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DC] Use href and target instead of onClick for opening URLs #7923

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

yoonaoh
Copy link
Collaborator

@yoonaoh yoonaoh commented Nov 27, 2024

FixesAB#30348749

For External Git, repo can be any value, including pseudoURLs, which can lead to XSS attacks. Using href on the Link component instead of onClick={window.open()}, will catch any unsafe URLs

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants