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

Make sure any rendered HTML from HIBP is sanitized before rendering #113

Closed
pdehaan opened this issue May 22, 2018 · 1 comment
Closed

Comments

@pdehaan
Copy link
Collaborator

pdehaan commented May 22, 2018

Per #112 (review)

Currently [in the PR], we're rendering out the meta.Description from HIBP:

{{! TODO: make sure meta.Description is a safe string so we can use triple-{{{ }}
{{{ meta.Description }}}
@pdehaan
Copy link
Collaborator Author

pdehaan commented May 23, 2018

Actually... this is a line item in #55 security checklist, so you're probably free to close it:

JavaScript applications should use DOMPurify

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

No branches or pull requests

1 participant