Speakr v0.11.5
Security
- API tokens in the
?token=query parameter are refused by default. If a client still sends its token in the URL, change it to send a header, or setAPI_QUERY_TOKENS_ENABLED=truefor the time being. (#688, #691) - Password reset and email verification links are stored as hashes and can be used once. Links sent before the upgrade no longer work, and a new link can be requested. (#693)
- The CSRF check of Flask-WTF is run on every request, with the same exemption for API tokens in a header. (#690)
- Values in the markup of the account page and the other scripts are escaped through one helper, and the summary and notes HTML from the server is sanitized again in the browser before it is shown. (#692, #695)
- Webhooks are delivered only to the addresses checked for their host, so the address check can no longer be bypassed with DNS rebinding. (#694)
Fixes
- Push notifications can be enabled again. The keys are generated in the format of pywebpush and stored in
/data/instance, so subscriptions are kept across updates. (#644) - Completion and failure emails are sent for a recording whose title contains control characters. (#689, by @abu-tahir-0)
Upgrade
Pull the new image and start as usual. Clients that send ?token= need a header, or API_QUERY_TOKENS_ENABLED=true.