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

Sanitize feed titles #492

Merged
merged 2 commits into from
Nov 5, 2018
Merged

Sanitize feed titles #492

merged 2 commits into from
Nov 5, 2018

Conversation

Koronen
Copy link
Contributor

@Koronen Koronen commented Nov 1, 2018

Attempt to fix a recently reported XSS vulnerability.

We reuse the same sanitization strategy as for story titles.

Also add a StoryRepository test for title-based XSS for good measure.

Fixes #490.

Attempt to fix a recently reported XSS vulnerability.

We reuse the same sanitization strategy as for _story_ titles.

Fixes #490.
@swanson
Copy link
Collaborator

swanson commented Nov 1, 2018

LGTM 👍

@Koronen Koronen merged commit 3712cf2 into master Nov 5, 2018
@Koronen Koronen deleted the vk-feed-title-xss branch November 5, 2018 19:59
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.

Script tags not stripped from feed titles on /feeds endpoint
2 participants