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

[Security] Fix for potential XSS vulnerability #29

Merged
merged 1 commit into from Aug 27, 2023

Conversation

ryanwinchester
Copy link
Contributor

@ryanwinchester ryanwinchester commented Apr 5, 2023

Escapes HTML and URLs everywhere.

Fixes #28

Screenshot 2023-04-05 at 12 35 16 PM

Screenshot 2023-04-05 at 12 35 41 PM

@thelightcosine
Copy link

@tompave any chance of this getting merged?

Copy link
Owner

@tompave tompave left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR, and apologies for the long wait.

This LGTM. 👍
I've been hesitant to take phoenix_html as a dependency, but copying here the useful functions is acceptable.

I need some time to test it manually before merging it. I'll try to get it done next week.

@thelightcosine
Copy link

Thank you for the PR, and apologies for the long wait.

This LGTM. 👍 I've been hesitant to take phoenix_html as a dependency, but copying here the useful functions is acceptable.

I need some time to test it manually before merging it. I'll try to get it done next week.

For what it's worth, we've been running a fork with this change for the past 4-5 months now and everything seems good.

@tompave tompave merged commit 69066a4 into tompave:master Aug 27, 2023
@tompave tompave mentioned this pull request Aug 27, 2023
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.

Persistent XSS Vulnerability
3 participants