This repository was archived by the owner on Oct 6, 2021. It is now read-only.
Version 1.1.4 - Of SVG and Madness
·
523 commits
to master
since this release
- i18n - run parameters through HTMLPurifier (with caching) to prevent future
XSS payloads in case someone forgets to escape these parameters. HTML is
still allowed, so if you're inserting in an HTML attribute, use the
|e('html_attr')filter on your input. - Use the correct POST index in account recovery.
- Treat SVG and XML files as plaintext, to prevent stored XSS. Reported on
HackerOne. - Send
Content-Security-Policyheaders on file downloads as well as web
pages. Just in case another file type exists in the world that executes
JavaScript when the file is viewed.