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

Prevent XSS attack by sanitizing the content of the textbox in _filter_advanced.tt #1374

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

ketra
Copy link
Contributor

@ketra ketra commented Jun 19, 2024

Prevent XSS attack by sanitizing the content of the textbox.

The Filter had a possibility for an XSS attack by appending the following to the url of any page utilizing the advanced filter:
"q=</textarea><img src=fake onerror=alert("XSS")>"

image

Prevent XSS attack by sanitizing the content of the textbox.
@ketra ketra changed the title Update _filter_advanced.tt Prevent XSS attack by sanitizing the content of the textbox in _filter_advanced.tt Jun 19, 2024
@sni sni merged commit d843603 into sni:master Jul 1, 2024
1 check passed
@sni
Copy link
Owner

sni commented Jul 1, 2024

looks good, thanks

@ketra ketra deleted the ketra-patch-1 branch July 1, 2024 11:38
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.

None yet

2 participants