Repository navigation
Fix auth CSRFs (login and register actions) - #9171
Conversation
Yes. I have started a few times the review of this PR but got sidetracked every time and worried about the drawbacks being maybe greater than the advantages. Something else which I see positive with the current behaviour, but which I have not debugged fully, is situations when an old(ish) view is re-opened from a Web browser history (that happens to me on mobile in particular) with the view already scrolled down. I would not want articles to be automatically marked as read by accident. |
|
Yes, there's something very strange there that happens on mobile sometimes which I've never taken the time to look into, in part because it's hard to reproduce. You reopen the page from yesterday or maybe it is even longer ago, you tap to open something, it opens, and then suddenly the whole page refreshes. This doesn't lead to anything being marked as read so it just looks a bit odd. |
I think I ran into the bug myself before, but I don't think it should make a difference here, since the CSRF token is not being refreshed in authenticated sessions anyway. (I meant that anonymous view had the CSRF token changed on every page load) |
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [freshrss/freshrss](https://freshrss.org/) ([source](https://github.com/FreshRSS/FreshRSS)) | minor | `1.29.1-alpine` → `1.30.0-alpine` | --- ### Release Notes <details> <summary>FreshRSS/FreshRSS (freshrss/freshrss)</summary> ### [`v1.30.0`](https://github.com/FreshRSS/FreshRSS/blob/HEAD/CHANGELOG.md#2026-09-09-FreshRSS-1300) [Compare Source](FreshRSS/FreshRSS@1.29.1...1.30.0) - Security - 💥 Disallow access to local networks such as `127.0.0.1` by default, for security reasons (breaking change) [#​8400](FreshRSS/FreshRSS#8400), [#​9195](FreshRSS/FreshRSS#9195) - Selected local networks can be allowed under *System configuration* or using the `INTERNAL_HOST_ALLOWLIST` environment variable - Passing `*` allows all networks like before (unsafe) - Improve SSRF mitigations by restricting `CURLOPT_PROXY` [#​8950](FreshRSS/FreshRSS#8950) - Fix auth CSRFs (login and register actions) [#​9171](FreshRSS/FreshRSS#9171) - Log invalid challenge and ignore JSON error during login [#​9278](FreshRSS/FreshRSS#9278) - Disallow fetching of non remote URI [#​9215](FreshRSS/FreshRSS#9215) - Only allow HTTP/HTTPS schemes for enclosure and thumbnail URLs [#​9272](FreshRSS/FreshRSS#9272) - Fix access control in `rss` and `opml` actions [#​8912](FreshRSS/FreshRSS#8912) - Refactor to use CSRF field directly instead of borrowing it from a form [#​9169](FreshRSS/FreshRSS#9169), [#​9205](FreshRSS/FreshRSS#9205) - Cleaner limit anonymous mode to default user [#​9235](FreshRSS/FreshRSS#9235) - Fix HTML ingestions in templates [#​9146](FreshRSS/FreshRSS#9146), [#​9170](FreshRSS/FreshRSS#9170) - Fix bad header filtering bypass [#​8964](FreshRSS/FreshRSS#8964) - Sanitize all fields during JSON import [#​9168](FreshRSS/FreshRSS#9168) - Gate `greader` (JSON) user query share format behind *Share by OPML* [#​9248](FreshRSS/FreshRSS#9248) - Public OPML should not contain cURL parameters [#​9070](FreshRSS/FreshRSS#9070) - Ignore security-relevant OPML attributes for dynamic OPML sources [#​9276](FreshRSS/FreshRSS#9276) - Strip feed URL credentials from anonymous user query output [#​9246](FreshRSS/FreshRSS#9246) - Set limits for regex during search [#​8913](FreshRSS/FreshRSS#8913) - Fix path disclosure in cache error message [#​9206](FreshRSS/FreshRSS#9206) - Limit the length and parentheses nesting depth of a search query [#​9277](FreshRSS/FreshRSS#9277) - Use timing-safe comparison for tokens [#​8945](FreshRSS/FreshRSS#8945) - Use `hash_equals()` for GReader API token comparison [#​9183](FreshRSS/FreshRSS#9183) - Mailer: allow disabling SMTPAutoTLS via config [#​9026](FreshRSS/FreshRSS#9026) - Warn during install if document root does not point to `./p/` [#​9010](FreshRSS/FreshRSS#9010) - Stop the unread-count poller after the session ends [#​9065](FreshRSS/FreshRSS#9065) - Add remote IP address to warning on form login [#​8942](FreshRSS/FreshRSS#8942) - Pin the GitHub actions using SHA [#​9200](FreshRSS/FreshRSS#9200) - Harden cache and SimplePie cache deserialization [#​9273](FreshRSS/FreshRSS#9273) - SimplePie - Security: Disallow `javascript:` URI scheme (protocol) [#​8263](FreshRSS/FreshRSS#8263) - Fix wrong player parent logic leading to invalid type [#​8893](FreshRSS/FreshRSS#8893), [simplepie#978](simplepie/simplepie#978) - Consistently enable `XML_OPTION_PARSE_HUGE` [#​8894](FreshRSS/FreshRSS#8894), [simplepie#977](simplepie/simplepie#977) - Fix null warning in IRI for PHP 8.5+ [#​8918](FreshRSS/FreshRSS#8918), [simplepie#979](simplepie/simplepie#979) - Fix sanitizer whitelist stripping order [#​9066](FreshRSS/FreshRSS#9066) - Show only one representation per `media:group` [#​9009](FreshRSS/FreshRSS#9009) - Bump upstream SimplePie [#​8947](FreshRSS/FreshRSS#8947) - Features - Filter global view feed list by state and search [#​9132](FreshRSS/FreshRSS#9132) - Use global view when searching from subscription page [#​9144](FreshRSS/FreshRSS#9144) - New option to hide badges showing number of unread articles (*Phantom Obligation*) [#​8844](FreshRSS/FreshRSS#8844) - Refresh only feeds in the current view [#​9060](FreshRSS/FreshRSS#9060) - Offer to add a prefix when resharing user labels [#​9236](FreshRSS/FreshRSS#9236) - Add log search to the logs page [#​9059](FreshRSS/FreshRSS#9059) - Add configurable `log_level` system setting [#​9185](FreshRSS/FreshRSS#9185) - New option to keep or not the custom sort order when navigating between categories and feeds [#​8969](FreshRSS/FreshRSS#8969) - New per-feed option to show or hide enclosures (attachments) [#​9015](FreshRSS/FreshRSS#9015) - Detect JSON feeds from URLs containing `json` [#​9058](FreshRSS/FreshRSS#9058) - Also when subscribing via the API [#​9167](FreshRSS/FreshRSS#9167) - Order categories during OPML import/export according to position [#​9203](FreshRSS/FreshRSS#9203) - OPML: include each feed’s refresh interval (TTL) in export/import [#​8982](FreshRSS/FreshRSS#8982) - Log failed CSS content retrieval (Web scraping) [#​9077](FreshRSS/FreshRSS#9077) - Allow providing a category when adding a feed by bookmarklet [#​9047](FreshRSS/FreshRSS#9047) - Add LinkAce sharing service [#​9024](FreshRSS/FreshRSS#9024) - Add Nextcloud Bookmarks sharing service [#​9032](FreshRSS/FreshRSS#9032) - Bug fixing - Fix lost elements while parsing search query [#​8884](FreshRSS/FreshRSS#8884) - Fix “mark as read older than…” widening the active search [#​9173](FreshRSS/FreshRSS#9173) - Fix saving user queries [#​9190](FreshRSS/FreshRSS#9190) - Fix SQL errors breaking some regex searches with MySQL / MariaDB [#​9036](FreshRSS/FreshRSS#9036) - Fix marking filtered label articles as read in SQLite and PostgreSQL [#​9264](FreshRSS/FreshRSS#9264) - Fix tagging an already-tagged entry on PostgreSQL raising a SQL error instead of being a no-op [#​9136](FreshRSS/FreshRSS#9136) - PostgreSQL: make committing new entries resilient to duplicate keys [#​9231](FreshRSS/FreshRSS#9231) - Preserve negative timezone offsets in date intervals [#​9071](FreshRSS/FreshRSS#9071) - Fix feed dropdown bugs due to hash desync [#​8949](FreshRSS/FreshRSS#8949) - Fix slider not reinitializing after form submit [#​8973](FreshRSS/FreshRSS#8973) - Minz: Skip loading duplicated JS/CSS assets [#​9000](FreshRSS/FreshRSS#9000) - Respect `simplepie_syslog_enabled` for the *uses cache* logs [#​8986](FreshRSS/FreshRSS#8986) - Fix statistics repartition averages [#​8996](FreshRSS/FreshRSS#8996) - Fix article hover date visibility [#​8997](FreshRSS/FreshRSS#8997) - Keep search and state filters when marking articles as read [#​9007](FreshRSS/FreshRSS#9007) - Fix `--db-prefix` silently drops following CLI flags [#​9042](FreshRSS/FreshRSS#9042) - Remove stale dynamic favicon links [#​9127](FreshRSS/FreshRSS#9127) - Fix desync between favicon and title unread counters [#​9262](FreshRSS/FreshRSS#9262) - Fix outdated username length hint on registration and install forms [#​9013](FreshRSS/FreshRSS#9013) - Redirect away from wrong URL paths [#​9075](FreshRSS/FreshRSS#9075) - Fix auto-share shortcut on first use [#​9072](FreshRSS/FreshRSS#9072) - Exclude hidden feeds from global view counts [#​9152](FreshRSS/FreshRSS#9152) - Fix only the last `<media:credit>` being written to the RSS output [#​9174](FreshRSS/FreshRSS#9174) - CLI - New `cli/reconfigure-user.php` to read/write per-user config attributes [#​8873](FreshRSS/FreshRSS#8873) - Report new articles count per feed in `app/actualize_script.php` output [#​8948](FreshRSS/FreshRSS#8948) - Output a diagnostic when the `cli/health.php` check fails [#​8980](FreshRSS/FreshRSS#8980) - API - Add a warning message to the API password section and a log warning when a client uses GET instead of recommended POST [#​8845](FreshRSS/FreshRSS#8845) - Fever API: log the client IP address on authentication failure [#​8981](FreshRSS/FreshRSS#8981) - WebSub: ignore HTTP/HTTPS scheme difference in Self URL comparison [#​9005](FreshRSS/FreshRSS#9005) - Deployment - Docker alternative image updated to Alpine 3.24 with PHP 8.5.7 and Apache 2.4.67 [#​8916](FreshRSS/FreshRSS#8916) - Start supporting PHP 8.6+ - Docker dev `:newest` with PHP 8.6 [#​9155](FreshRSS/FreshRSS#9155) - Docker: attach provenance and SBOM attestations to the published image [#​9150](FreshRSS/FreshRSS#9150) - Apache use only `CONN_REMOTE_ADDR` in logs when `mod_remoteip` is available, for compatibility with LiteSpeed Web Server [#​8890](FreshRSS/FreshRSS#8890) - Fix `.dockerignore` being ignored during build in CI [#​9001](FreshRSS/FreshRSS#9001) - New `ENABLE_ACCESS_LOG` environment variable to disable access logs [#​9191](FreshRSS/FreshRSS#9191) - Check GMP during 32-bit installation [#​9046](FreshRSS/FreshRSS#9046) - Improve actualize mutex to allow multiple instances [#​9045](FreshRSS/FreshRSS#9045) - OIDC: redirect to a default URL on expired auth state instead of 400 [#​9143](FreshRSS/FreshRSS#9143) - UI - Always jump article to top when header is offscreen, also when *Stick the article to the top when opened* is disabled [#​8870](FreshRSS/FreshRSS#8870) - Move article header/footer options (feed title, authors and date, icons position, tags) from *Reading* to *Display* configuration [#​9139](FreshRSS/FreshRSS#9139) - Move disable button before remove button in user management [#​8944](FreshRSS/FreshRSS#8944) - Keep scroll position of slider after form submit [#​8974](FreshRSS/FreshRSS#8974) - Group export feeds by category [#​9079](FreshRSS/FreshRSS#9079), [#​9154](FreshRSS/FreshRSS#9154) - Sort feed names with locale-aware collation [#​8985](FreshRSS/FreshRSS#8985) - Sort labels with locale-aware collation [#​9023](FreshRSS/FreshRSS#9023) - Format unread counter in title on page load [#​9263](FreshRSS/FreshRSS#9263) - Display slider after submit for all buttons in feed update UI [#​8999](FreshRSS/FreshRSS#8999) - Improve aside keyboard navigation [#​9202](FreshRSS/FreshRSS#9202) - Allows usage of <kbd>Ctrl/Shift</kbd> keys with the open website shortcut [#​9186](FreshRSS/FreshRSS#9186) - Fix padding for `.nav_menu` in Alternative-Dark, Flat, and Nord themes [#​8901](FreshRSS/FreshRSS#8901) - Fix typo in alert error border `color` variable [#​9266](FreshRSS/FreshRSS#9266) - Use JavaScript `Event()` constructor instead of deprecated `initEvent()` [#​9035](FreshRSS/FreshRSS#9035) - Use `:user-invalid` instead of `:invalid` for CSS form field styling [#​9025](FreshRSS/FreshRSS#9025) - Remove unused simple layout [#​8998](FreshRSS/FreshRSS#8998) - Various UI and style improvements: [#​8823](FreshRSS/FreshRSS#8823), [#​8824](FreshRSS/FreshRSS#8824), [#​9140](FreshRSS/FreshRSS#9140), [#​9145](FreshRSS/FreshRSS#9145) - Extensions - Minor `Minz_Extension` typing [#​8952](FreshRSS/FreshRSS#8952) - Improve extension list fetch diagnostics [#​9055](FreshRSS/FreshRSS#9055) - Fix a PHP warning in *Serve* action [#​9267](FreshRSS/FreshRSS#9267) - Fix extension settings cancel action [#​9053](FreshRSS/FreshRSS#9053) - Fix sharing menu conflicts with extensions [#​9074](FreshRSS/FreshRSS#9074) - Add read status hook for entries [#​8995](FreshRSS/FreshRSS#8995) - Dispatch a new JavaScript event `freshrss:entryStateChange` when an entry finishes being marked read/unread [#​9031](FreshRSS/FreshRSS#9031) - Redirect after saving user CSS/JS so changes apply immediately [#​9006](FreshRSS/FreshRSS#9006) - I18n - New plural system [#​8988](FreshRSS/FreshRSS#8988) - Pluralize the *new articles* count message - Prefer OS-bundled Japanese fonts when UI language is Japanese [#​9002](FreshRSS/FreshRSS#9002) - Add Azerbaijani [#​9269](FreshRSS/FreshRSS#9269) - Add Lithuanian [#​9201](FreshRSS/FreshRSS#9201), [#​9213](FreshRSS/FreshRSS#9213) - Improve Brazilian Portuguese [#​9240](FreshRSS/FreshRSS#9240), [#​9242](FreshRSS/FreshRSS#9242) - Improve German [#​9149](FreshRSS/FreshRSS#9149) - Improve Greek [#​8977](FreshRSS/FreshRSS#8977), [#​9038](FreshRSS/FreshRSS#9038) - Improve Hungarian [#​8879](FreshRSS/FreshRSS#8879) - Improve Indonesian (Bahasa Indonesia) [#​9220](FreshRSS/FreshRSS#9220) - Improve Italian [#​8880](FreshRSS/FreshRSS#8880) - Improve Japanese [#​9064](FreshRSS/FreshRSS#9064) - Improve Persian [#​8923](FreshRSS/FreshRSS#8923) - Improve Spanish [#​8878](FreshRSS/FreshRSS#8878), [#​9245](FreshRSS/FreshRSS#9245) - Improve Traditional Chinese [#​9037](FreshRSS/FreshRSS#9037), [#​9069](FreshRSS/FreshRSS#9069), [#​9223](FreshRSS/FreshRSS#9223) - Improve Turkish [#​8966](FreshRSS/FreshRSS#8966), [#​8971](FreshRSS/FreshRSS#8971), [#​8970](FreshRSS/FreshRSS#8970), [#​8989](FreshRSS/FreshRSS#8989) - Improve Ukrainian [#​8871](FreshRSS/FreshRSS#8871) - Refactor user query translation keys [#​9049](FreshRSS/FreshRSS#9049) - Misc. - Update to PHPMailer 7.1.1 [#​8907](FreshRSS/FreshRSS#8907) - Improve PHP code [#​8906](FreshRSS/FreshRSS#8906), [#​9156](FreshRSS/FreshRSS#9156) - Fix PHPStan 2.2.2 in CLI [#​8911](FreshRSS/FreshRSS#8911) - Migrate `markdownlint-cli` to `markdownlint-cli2` [#​8987](FreshRSS/FreshRSS#8987) - Update dev dependencies [#​8904](FreshRSS/FreshRSS#8904), [#​8905](FreshRSS/FreshRSS#8905), [#​8926](FreshRSS/FreshRSS#8926), [#​8939](FreshRSS/FreshRSS#8939), [#​8940](FreshRSS/FreshRSS#8940), [#​8963](FreshRSS/FreshRSS#8963), [#​8961](FreshRSS/FreshRSS#8961), [#​8959](FreshRSS/FreshRSS#8959), [#​8958](FreshRSS/FreshRSS#8958), [#​8962](FreshRSS/FreshRSS#8962), [#​8960](FreshRSS/FreshRSS#8960), [#​9148](FreshRSS/FreshRSS#9148), [#​9162](FreshRSS/FreshRSS#9162), [#​9165](FreshRSS/FreshRSS#9165), [#​9158](FreshRSS/FreshRSS#9158), [#​9159](FreshRSS/FreshRSS#9159), [#​9176](FreshRSS/FreshRSS#9176), [#​9178](FreshRSS/FreshRSS#9178), [#​9179](FreshRSS/FreshRSS#9179), [#​9219](FreshRSS/FreshRSS#9219), [#​9253](FreshRSS/FreshRSS#9253), [#​9254](FreshRSS/FreshRSS#9254), [#​9255](FreshRSS/FreshRSS#9255), [#​9257](FreshRSS/FreshRSS#9257) </details> --- ### Configuration 📅 **Schedule**: (in timezone America/New_York) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC42Ni4xIiwidXBkYXRlZEluVmVyIjoiNDQuNjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsicmVub3ZhdGUvY29udGFpbmVyIiwidHlwZS9taW5vciJdfQ==--> Reviewed-on: https://git.greyrock.io/todd/home-ops/pulls/157
…056) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [freshrss/freshrss](https://freshrss.org/) ([source](https://github.com/FreshRSS/FreshRSS)) | minor | `1.29.1-alpine` → `1.30.0-alpine` | --- >⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/6) for more information. --- ### Release Notes <details> <summary>FreshRSS/FreshRSS (freshrss/freshrss)</summary> ### [`v1.30.0`](https://github.com/FreshRSS/FreshRSS/blob/HEAD/CHANGELOG.md#2026-09-09-FreshRSS-1300) [Compare Source](FreshRSS/FreshRSS@1.29.1...1.30.0) - Security - 💥 SSRF mitigation: disallow access to local networks such as `127.0.0.1` by default, for security reasons (breaking change) [#​8400](FreshRSS/FreshRSS#8400), [#​8950](FreshRSS/FreshRSS#8950), [#​9195](FreshRSS/FreshRSS#9195) - Selected local networks can be allowed under *System configuration* or using the `INTERNAL_HOST_ALLOWLIST` environment variable - Passing `*` allows all networks like before (unsafe) - Fix auth CSRFs (login and register actions) [#​9171](FreshRSS/FreshRSS#9171) - Log invalid challenge and ignore JSON error during login [#​9278](FreshRSS/FreshRSS#9278) - Disallow fetching of non remote URI [#​9215](FreshRSS/FreshRSS#9215) - Only allow HTTP/HTTPS schemes for enclosure and thumbnail URLs [#​9272](FreshRSS/FreshRSS#9272) - Fix access control in `rss` and `opml` actions [#​8912](FreshRSS/FreshRSS#8912) - Refactor to use CSRF field directly instead of borrowing it from a form [#​9169](FreshRSS/FreshRSS#9169), [#​9205](FreshRSS/FreshRSS#9205) - Cleaner limit anonymous mode to default user [#​9235](FreshRSS/FreshRSS#9235) - Fix HTML ingestions in templates [#​9146](FreshRSS/FreshRSS#9146), [#​9170](FreshRSS/FreshRSS#9170) - Fix bad header filtering bypass [#​8964](FreshRSS/FreshRSS#8964) - Sanitize all fields during JSON import [#​9168](FreshRSS/FreshRSS#9168) - Gate `greader` (JSON) user query share format behind *Share by OPML* [#​9248](FreshRSS/FreshRSS#9248) - Public OPML should not contain cURL parameters [#​9070](FreshRSS/FreshRSS#9070) - Ignore security-relevant OPML attributes for dynamic OPML sources [#​9276](FreshRSS/FreshRSS#9276) - Strip feed URL credentials from anonymous user query output [#​9246](FreshRSS/FreshRSS#9246) - Set limits for regex during search [#​8913](FreshRSS/FreshRSS#8913) - Fix path disclosure in cache error message [#​9206](FreshRSS/FreshRSS#9206) - Limit the length and parentheses nesting depth of a search query [#​9277](FreshRSS/FreshRSS#9277) - Use timing-safe comparison for tokens [#​8945](FreshRSS/FreshRSS#8945) - Use `hash_equals()` for GReader API token comparison [#​9183](FreshRSS/FreshRSS#9183) - Mailer: allow disabling SMTPAutoTLS via config [#​9026](FreshRSS/FreshRSS#9026) - Warn during install if document root does not point to `./p/` [#​9010](FreshRSS/FreshRSS#9010) - Stop the unread-count poller after the session ends [#​9065](FreshRSS/FreshRSS#9065) - Add remote IP address to warning on form login [#​8942](FreshRSS/FreshRSS#8942) - Pin the GitHub actions using SHA [#​9200](FreshRSS/FreshRSS#9200) - Harden cache and SimplePie cache deserialization [#​9273](FreshRSS/FreshRSS#9273) - SimplePie - Security: Disallow `javascript:` URI scheme (protocol) [#​8263](FreshRSS/FreshRSS#8263) - Fix wrong player parent logic leading to invalid type [#​8893](FreshRSS/FreshRSS#8893), [simplepie#978](simplepie/simplepie#978) - Consistently enable `XML_OPTION_PARSE_HUGE` [#​8894](FreshRSS/FreshRSS#8894), [simplepie#977](simplepie/simplepie#977) - Fix null warning in IRI for PHP 8.5+ [#​8918](FreshRSS/FreshRSS#8918), [simplepie#979](simplepie/simplepie#979) - Fix sanitizer whitelist stripping order [#​9066](FreshRSS/FreshRSS#9066) - Show only one representation per `media:group` [#​9009](FreshRSS/FreshRSS#9009) - Bump upstream SimplePie [#​8947](FreshRSS/FreshRSS#8947) - Features - Filter global view feed list by state and search [#​9132](FreshRSS/FreshRSS#9132) - Use global view when searching from subscription page [#​9144](FreshRSS/FreshRSS#9144) - New option to hide badges showing number of unread articles (*Phantom Obligation*) [#​8844](FreshRSS/FreshRSS#8844) - Refresh only feeds in the current view [#​9060](FreshRSS/FreshRSS#9060) - Offer to add a prefix when resharing user labels [#​9236](FreshRSS/FreshRSS#9236) - Add log search to the logs page [#​9059](FreshRSS/FreshRSS#9059) - Add configurable `log_level` system setting [#​9185](FreshRSS/FreshRSS#9185) - New option to keep or not the custom sort order when navigating between categories and feeds [#​8969](FreshRSS/FreshRSS#8969) - New per-feed option to show or hide enclosures (attachments) [#​9015](FreshRSS/FreshRSS#9015) - Detect JSON feeds from URLs containing `json` [#​9058](FreshRSS/FreshRSS#9058) - Also when subscribing via the API [#​9167](FreshRSS/FreshRSS#9167) - Order categories during OPML import/export according to position [#​9203](FreshRSS/FreshRSS#9203) - OPML: include each feed’s refresh interval (TTL) in export/import [#​8982](FreshRSS/FreshRSS#8982) - Log failed CSS content retrieval (Web scraping) [#​9077](FreshRSS/FreshRSS#9077) - Allow providing a category when adding a feed by bookmarklet [#​9047](FreshRSS/FreshRSS#9047) - Add LinkAce sharing service [#​9024](FreshRSS/FreshRSS#9024) - Add Nextcloud Bookmarks sharing service [#​9032](FreshRSS/FreshRSS#9032) - Bug fixing - Fix lost elements while parsing search query [#​8884](FreshRSS/FreshRSS#8884) - Fix “mark as read older than…” widening the active search [#​9173](FreshRSS/FreshRSS#9173) - Fix saving user queries [#​9190](FreshRSS/FreshRSS#9190) - Fix SQL errors breaking some regex searches with MySQL / MariaDB [#​9036](FreshRSS/FreshRSS#9036) - Fix marking filtered label articles as read in SQLite and PostgreSQL [#​9264](FreshRSS/FreshRSS#9264) - Fix tagging an already-tagged entry on PostgreSQL raising a SQL error instead of being a no-op [#​9136](FreshRSS/FreshRSS#9136) - PostgreSQL: make committing new entries resilient to duplicate keys [#​9231](FreshRSS/FreshRSS#9231) - Preserve negative timezone offsets in date intervals [#​9071](FreshRSS/FreshRSS#9071) - Fix feed dropdown bugs due to hash desync [#​8949](FreshRSS/FreshRSS#8949) - Fix slider not reinitializing after form submit [#​8973](FreshRSS/FreshRSS#8973) - Minz: Skip loading duplicated JS/CSS assets [#​9000](FreshRSS/FreshRSS#9000) - Respect `simplepie_syslog_enabled` for the *uses cache* logs [#​8986](FreshRSS/FreshRSS#8986) - Fix statistics repartition averages [#​8996](FreshRSS/FreshRSS#8996) - Fix article hover date visibility [#​8997](FreshRSS/FreshRSS#8997) - Keep search and state filters when marking articles as read [#​9007](FreshRSS/FreshRSS#9007) - Fix `--db-prefix` silently drops following CLI flags [#​9042](FreshRSS/FreshRSS#9042) - Remove stale dynamic favicon links [#​9127](FreshRSS/FreshRSS#9127) - Fix desync between favicon and title unread counters [#​9262](FreshRSS/FreshRSS#9262) - Fix outdated username length hint on registration and install forms [#​9013](FreshRSS/FreshRSS#9013) - Redirect away from wrong URL paths [#​9075](FreshRSS/FreshRSS#9075) - Fix auto-share shortcut on first use [#​9072](FreshRSS/FreshRSS#9072) - Exclude hidden feeds from global view counts [#​9152](FreshRSS/FreshRSS#9152) - Fix only the last `<media:credit>` being written to the RSS output [#​9174](FreshRSS/FreshRSS#9174) - CLI - New `cli/reconfigure-user.php` to read/write per-user config attributes [#​8873](FreshRSS/FreshRSS#8873) - Report new articles count per feed in `app/actualize_script.php` output [#​8948](FreshRSS/FreshRSS#8948) - Output a diagnostic when the `cli/health.php` check fails [#​8980](FreshRSS/FreshRSS#8980) - API - Add a warning message to the API password section and a log warning when a client uses GET instead of recommended POST [#​8845](FreshRSS/FreshRSS#8845) - Fever API: log the client IP address on authentication failure [#​8981](FreshRSS/FreshRSS#8981) - WebSub: ignore HTTP/HTTPS scheme difference in Self URL comparison [#​9005](FreshRSS/FreshRSS#9005) - Deployment - Docker alternative image updated to Alpine 3.24 with PHP 8.5.7 and Apache 2.4.67 [#​8916](FreshRSS/FreshRSS#8916) - Start supporting PHP 8.6+ - Docker dev `:newest` with PHP 8.6 [#​9155](FreshRSS/FreshRSS#9155) - Docker: attach provenance and SBOM attestations to the published image [#​9150](FreshRSS/FreshRSS#9150) - Apache use only `CONN_REMOTE_ADDR` in logs when `mod_remoteip` is available, for compatibility with LiteSpeed Web Server [#​8890](FreshRSS/FreshRSS#8890) - Fix `.dockerignore` being ignored during build in CI [#​9001](FreshRSS/FreshRSS#9001) - New `ENABLE_ACCESS_LOG` environment variable to disable access logs [#​9191](FreshRSS/FreshRSS#9191) - Check GMP during 32-bit installation [#​9046](FreshRSS/FreshRSS#9046) - Improve actualize mutex to allow multiple instances [#​9045](FreshRSS/FreshRSS#9045) - OIDC: redirect to a default URL on expired auth state instead of 400 [#​9143](FreshRSS/FreshRSS#9143) - UI - Always jump article to top when header is offscreen, also when *Stick the article to the top when opened* is disabled [#​8870](FreshRSS/FreshRSS#8870) - Move article header/footer options (feed title, authors and date, icons position, tags) from *Reading* to *Display* configuration [#​9139](FreshRSS/FreshRSS#9139) - Move disable button before remove button in user management [#​8944](FreshRSS/FreshRSS#8944) - Keep scroll position of slider after form submit [#​8974](FreshRSS/FreshRSS#8974) - Group export feeds by category [#​9079](FreshRSS/FreshRSS#9079), [#​9154](FreshRSS/FreshRSS#9154) - Sort feed names with locale-aware collation [#​8985](FreshRSS/FreshRSS#8985) - Sort labels with locale-aware collation [#​9023](FreshRSS/FreshRSS#9023) - Format unread counter in title on page load [#​9263](FreshRSS/FreshRSS#9263) - Display slider after submit for all buttons in feed update UI [#​8999](FreshRSS/FreshRSS#8999) - Improve aside keyboard navigation [#​9202](FreshRSS/FreshRSS#9202) - Allows usage of <kbd>Ctrl/Shift</kbd> keys with the open website shortcut [#​9186](FreshRSS/FreshRSS#9186) - Fix padding for `.nav_menu` in Alternative-Dark, Flat, and Nord themes [#​8901](FreshRSS/FreshRSS#8901) - Fix typo in alert error border `color` variable [#​9266](FreshRSS/FreshRSS#9266) - Use JavaScript `Event()` constructor instead of deprecated `initEvent()` [#​9035](FreshRSS/FreshRSS#9035) - Use `:user-invalid` instead of `:invalid` for CSS form field styling [#​9025](FreshRSS/FreshRSS#9025) - Remove unused simple layout [#​8998](FreshRSS/FreshRSS#8998) - Various UI and style improvements: [#​8823](FreshRSS/FreshRSS#8823), [#​8824](FreshRSS/FreshRSS#8824), [#​9140](FreshRSS/FreshRSS#9140), [#​9145](FreshRSS/FreshRSS#9145) - Extensions - Minor `Minz_Extension` typing [#​8952](FreshRSS/FreshRSS#8952) - Improve extension list fetch diagnostics [#​9055](FreshRSS/FreshRSS#9055) - Fix a PHP warning in *Serve* action [#​9267](FreshRSS/FreshRSS#9267) - Fix extension settings cancel action [#​9053](FreshRSS/FreshRSS#9053) - Fix sharing menu conflicts with extensions [#​9074](FreshRSS/FreshRSS#9074) - Add read status hook for entries [#​8995](FreshRSS/FreshRSS#8995) - Dispatch a new JavaScript event `freshrss:entryStateChange` when an entry finishes being marked read/unread [#​9031](FreshRSS/FreshRSS#9031) - Redirect after saving user CSS/JS so changes apply immediately [#​9006](FreshRSS/FreshRSS#9006) - I18n - New plural system [#​8988](FreshRSS/FreshRSS#8988) - Pluralize the *new articles* count message - Prefer OS-bundled Japanese fonts when UI language is Japanese [#​9002](FreshRSS/FreshRSS#9002) - Add Azerbaijani [#​9269](FreshRSS/FreshRSS#9269) - Add Lithuanian [#​9201](FreshRSS/FreshRSS#9201), [#​9213](FreshRSS/FreshRSS#9213) - Improve Brazilian Portuguese [#​9240](FreshRSS/FreshRSS#9240), [#​9242](FreshRSS/FreshRSS#9242) - Improve German [#​9149](FreshRSS/FreshRSS#9149) - Improve Greek [#​8977](FreshRSS/FreshRSS#8977), [#​9038](FreshRSS/FreshRSS#9038) - Improve Hungarian [#​8879](FreshRSS/FreshRSS#8879) - Improve Indonesian (Bahasa Indonesia) [#​9220](FreshRSS/FreshRSS#9220) - Improve Italian [#​8880](FreshRSS/FreshRSS#8880) - Improve Japanese [#​9064](FreshRSS/FreshRSS#9064) - Improve Persian [#​8923](FreshRSS/FreshRSS#8923) - Improve Spanish [#​8878](FreshRSS/FreshRSS#8878), [#​9245](FreshRSS/FreshRSS#9245) - Improve Traditional Chinese [#​9037](FreshRSS/FreshRSS#9037), [#​9069](FreshRSS/FreshRSS#9069), [#​9223](FreshRSS/FreshRSS#9223) - Improve Turkish [#​8966](FreshRSS/FreshRSS#8966), [#​8971](FreshRSS/FreshRSS#8971), [#​8970](FreshRSS/FreshRSS#8970), [#​8989](FreshRSS/FreshRSS#8989) - Improve Ukrainian [#​8871](FreshRSS/FreshRSS#8871) - Refactor user query translation keys [#​9049](FreshRSS/FreshRSS#9049) - Misc. - Update to PHPMailer 7.1.1 [#​8907](FreshRSS/FreshRSS#8907) - Improve PHP code [#​8906](FreshRSS/FreshRSS#8906), [#​9156](FreshRSS/FreshRSS#9156) - Fix PHPStan 2.2.2 in CLI [#​8911](FreshRSS/FreshRSS#8911) - Migrate `markdownlint-cli` to `markdownlint-cli2` [#​8987](FreshRSS/FreshRSS#8987) - Update dev dependencies [#​8904](FreshRSS/FreshRSS#8904), [#​8905](FreshRSS/FreshRSS#8905), [#​8926](FreshRSS/FreshRSS#8926), [#​8939](FreshRSS/FreshRSS#8939), [#​8940](FreshRSS/FreshRSS#8940), [#​8963](FreshRSS/FreshRSS#8963), [#​8961](FreshRSS/FreshRSS#8961), [#​8959](FreshRSS/FreshRSS#8959), [#​8958](FreshRSS/FreshRSS#8958), [#​8962](FreshRSS/FreshRSS#8962), [#​8960](FreshRSS/FreshRSS#8960), [#​9148](FreshRSS/FreshRSS#9148), [#​9162](FreshRSS/FreshRSS#9162), [#​9165](FreshRSS/FreshRSS#9165), [#​9158](FreshRSS/FreshRSS#9158), [#​9159](FreshRSS/FreshRSS#9159), [#​9176](FreshRSS/FreshRSS#9176), [#​9178](FreshRSS/FreshRSS#9178), [#​9179](FreshRSS/FreshRSS#9179), [#​9219](FreshRSS/FreshRSS#9219), [#​9253](FreshRSS/FreshRSS#9253), [#​9254](FreshRSS/FreshRSS#9254), [#​9255](FreshRSS/FreshRSS#9255), [#​9257](FreshRSS/FreshRSS#9257) </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/Rome) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xNy4xIiwidXBkYXRlZEluVmVyIjoiNDQuMTcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsicmVub3ZhdGUvY29udGFpbmVyIiwidHlwZS9taW5vciJdfQ==--> Reviewed-on: https://git.aresu.eu/GiorgioAresu/home-ops/pulls/2056
This is done by getting rid of the CSRF check allowlist, and instead of refreshing the CSRF token on every unauthenticated page load, only refreshing the token when needed (on login, logout, account delete, HTTP auth user change)
In addition, the actualize actions are now correctly protected as well.
The most notable part is that the user create action could potentially be exploited by another website for XSS on a given instance, by submitting the register form with known credentials, and then by the attacker logging into the same account forcibly registered by a malicious website, and setting custom User JS code.
Login action was likely not exploitable in any meaningful way, because of the JS nonce.
It's worth noting one risk of merging this PR, some vulnerabilities discovered in the past had reduced impact due to CSRF token refreshing on every page load: https://github.com/FreshRSS/FreshRSS/security/advisories/GHSA-jf4v-f8p2-8xvq#:~:text=It%27s%20important,FreshRSS%5FAuth%3A%3AremoveAccess%28%29%2E