mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-28 14:08:45 -04:00
* auth: reject token access for disabled accounts (CWE-613) Minz_Request::tokenIsOk() validated the per-user token but never checked that the account is enabled, so a disabled user's token still authorised RSS/OPML export and feed refresh (c=feed&a=actualize). Session-based access already enforces `enabled` in FreshRSS_Auth::giveAccess(); apply the same check to token validation. Re-enabling the account restores token access as expected, so no token rotation is needed. * Reduce comments --------- Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Libraries
SimplePie
FreshRSS uses a forked version of SimplePie, with a number of patches.
See the read-me of our fork.
Updating libraries
Some of the libraries in this folder can be updated semi-automatically by invoking:
cd ./FreshRSS/lib/
composer update --no-autoloader
Remember to read the change-logs, proof-read the changes, preserve possible local patches, add irrelevant files to .gitignore (minimal installation), and test before committing.