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

javascript injection using tags inside the search result page #1526

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

vboulaye
Copy link
Contributor

Hi,

We found a small bug in the way the page "tags" are used in the search result page: They are not escaped there so if you set something like <script>alert('hello')</script> as the tag, the javascript will be executed when the page is included in the search results.

This MR adds the missing #escape call in the template

@fhoeben fhoeben merged commit f9b2912 into unclebob:master Oct 23, 2024
1 check passed
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