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

Backport v5: Prevent XSS attacks in isLinkTarget validator (#1816) #1846

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

jomunker
Copy link
Contributor

Description

This PR includes the XSS fixes from #1816 into v5

## Description
This PR adds a filter for `javascript` and `data` in the `isLinkTarget`
function and decorator to prevent XSS attacks.

(cherry picked from commit 9867242)
@jomunker jomunker self-assigned this Mar 18, 2024
@johnnyomair johnnyomair merged commit 1000369 into v5.x.x Mar 18, 2024
2 checks passed
@johnnyomair johnnyomair deleted the COM-486-v5-backport-xss-in-external-link branch March 18, 2024 14:54
thomasdax98 added a commit that referenced this pull request Mar 19, 2024
thomasdax98 added a commit that referenced this pull request Mar 19, 2024
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