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

feat(security): xss protection in H5PEditor #882

Merged
merged 10 commits into from
Nov 4, 2020
Merged

feat(security): xss protection in H5PEditor #882

merged 10 commits into from
Nov 4, 2020

Conversation

sr258
Copy link
Member

@sr258 sr258 commented Oct 31, 2020

I'm fairly confident now, that the library filters out all possible XSS attacks in H5PEditor and its calls. The semantics of content is not fully validated yet, however, so there might still be cases in which content editors can save the parameters with invalid properties. Not sure if this can lead to XSS attacks, as all text strings are sanatized.

@coveralls
Copy link

coveralls commented Oct 31, 2020

Coverage Status

Coverage increased (+0.1%) to 84.281% when pulling 87b4ce0 on feat/html-filter into 688a166 on master.

@sr258 sr258 changed the title feat(security): text in content is filtered on the server feat(security): xss protection Nov 4, 2020
@sr258 sr258 changed the title feat(security): xss protection feat(security): xss protection in H5PEditor Nov 4, 2020
@sr258 sr258 merged commit 8b7cca7 into master Nov 4, 2020
@JPSchellenberg
Copy link
Member

🎉 This PR is included in version 6.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sr258 sr258 deleted the feat/html-filter branch November 4, 2020 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants