CI Report:
https://ci-tests.linuxserver.io/linuxserver/freshrss/1.31.0-ls333/index.html
LinuxServer Changes:
No changes
Remote Changes:
This is a security-oriented major release with several critical security patches.
Our rolling-release channel (edge) is still recommended for faster security patches.
Breaking change 💥:
- Require PHP 8.2+ (drop PHP 8.1)
- Replace bcrypt challenge auth with direct password comparison. We are dropping a custom client-side crypto that avoided transmitting the login password in plain-text, in favour of HTTPS. The custom crypto was a design choice made when HTTPS was rare for self-hosted solutions. But this had other problems and did not protect the session anyway. We will now simplify and rely on HTTPS only.
Feature highlights✨:
- Native HTML5 parsing (only if PHP 8.4+) as well as native img lazyload, for better compliance, security, and performance
- User queries can define their own sorting criterion (field and direction)
Security highlights 🛡:
- Fix several critical vulnerabilities, both local and remote
- Fix security exploits in search queries
- Use HTTP header
Cross-Origin-Opener-Policy: same-origin - Use HTTP header
X-Content-Type-Options: nosniffmore generally - WebSub implement support for
hub.secret - Docker images updated regarding the security of Apache, PHP, cURL
Improved performance 🏎️:
- SQL speed improvement for batch mark as read under SQLite and PostgreSQL
Bug fixes highlights 🐛:
- Fix HTTP Retry-After cache when proxy is used
- Fix 32-bit systems
- Fix API lookup of the localised default category
- Etc.
This release has been made by @Alkarex, @Frenzie, @iatman, @IEEE-754, @Inverle, @Ricardo-Simoes, @sad270, @shcheglovnd, @spa77k, and newcomers @A-AL-ANAZI, @benlk, @Busy-SweetPotato, @CaoMeiYouRen, @CharoenwitKunna, @ChrisB85, @CyberNativeAI, @darodi, @EduardoNovato, @eMPai-git, @HarriesCC, @Hellraiser28, @jayhemnani9910, @Jgolding1998, @KoseceMehmet, @netsvetoch, @Pythame, @quinnypig, @Raed2180416, @S31ZUR3, @shaurya703, @SiggeMcKvack, @turboflexer
Full changelog:
- Compatibility
- 💥 Require PHP 8.2+ (drop PHP 8.1) #9470, GHSA-66ff-8p23-wx95
- And recommend PHP 8.4+ for native HTML5 parsing (compliance, security, performance)
- 💥 Require PHP 8.2+ (drop PHP 8.1) #9470, GHSA-66ff-8p23-wx95
- Features
- Use PHP 8.4+
\Domclasses and functions when available (polyfill for PHP < 8.4) #9567- Polyfill
GT\CssXPath: Add support for case insensitivity phpgt/CssXPath#256
- Polyfill
- Use native HTML5
<img loading="lazy"instead of custom JavaScript #5816, #9601, GHSA-fc53-pf4q-9phm - User queries can define their own sorting criterion (field and direction) #8954
- Better catch and log user regex errors #9559
- Sharing by RSS emit
<enclosure>for BitTorrent attachments #9553 - Add filter preview button to label configuration #9538
- Use PHP 8.4+
- Bug fixes
- Fix HTTP Retry-After cache when proxy is used #9508
- Fix 32-bit systems provide a string for SQL BIGINT #9486
- Fix tests for 32-bit systems #9578
- Fix API lookup of the localised default category #9543
- Keep JSON feed attachments as enclosures #9510
- Fix: do not double-encode titles and authors when importing JSON #9556
- Fix OPML import of numeric-string category names #9552
- Fix saved search references with overlapping IDs or names #9484, #9524
- Fix shared queries: keep user search in HTML pagination #9545
- Fix non-ASCII characters in scripts of fetched HTML pages #9384
- PostgreSQL: detect FreshRSS tables by visibility rather than owner #9535
- Fix UI: Load theme icons in views rendered without layout #9564
- GReader API: compare
Authorization:GoogleLoginand other headers case insensitive #9534 - Return false when the configuration file cannot be replaced #9580
- Fix technical details in documentation system #9520, #9521
- Security
- 💥 Replace bcrypt challenge auth with direct password comparison #9358, #9550, #9566, GHSA-8pvw-w7w8-vjj7, GHSA-5vxm-62pg-frff
- Search: quote parentheses and
ORwhen serialising terms #9541 - Use HTTP header
Cross-Origin-Opener-Policy: same-origin#9588, GHSA-75f7-8cvm-v87v, GHSA-gpvq-chwv-g674 - WebSub security: Implement support for
hub.secret#9430, GHSA-498g-vgpq-mr66 - Reduce risk of data cache leak #9591, GHSA-4r8m-g5px-6pg7, GHSA-fhcq-gjx8-fg9g
- Fix leak of feed credentials to anonymous readers #9591, GHSA-fr4r-3w2g-rqf5
- Sanitize Punycode #9591, GHSA-qv45-78vh-92w4
- Validate domain in SSRF check #9611, GHSA-3ch8-46c3-xr9h
- Fix search references #9591, GHSA-qwpx-vccf-m8xf
- Prevent use of irrelevant parameter in shared user queries #9589, GHSA-9v4j-jqr6-4cvv
- Fix user enumeration by probing inconsistent error responses on failed logins #9568
- Safer login #9592, #9598, GHSA-rqqp-9h9w-h9m5
- More secure remove access #9610, GHSA-r27w-hr3c-hjr3
- Better sanitize bookmark #9594, GHSA-jc2v-8853-5jqf
- Fix escape labels during JSON import and render tag dropdown as text #9504, GHSA-4vcq-4q92-v45q
- More security for extension files:
X-Content-Type-Options: nosniff#9593, GHSA-w38f-92pp-95hg - Fix HTML injection in view mode error notification #9605, GHSA-wpf6-5v7v-6cvj
- Fix HTML injection in extension names #9608, GHSA-crc7-3qcq-m9h3
- Fix full-content logic #9602, GHSA-5hcv-wqwr-j8r8
- Sanitize DB install params #9595, GHSA-xm97-f66c-q5fx
- Document threat model for security scanners #9509
- Enrolled in Anthropic OSS Scanner service that scans critical open-source repositories for security vulnerabilities anthropics/oss-scanner#1434
- Use a keyed hash for favicon cache keys #9518, GHSA-jqm2-jqjv-m87h
- Performance
- SQL speed improvement for batch mark as read under SQLite and PostgreSQL #9575
- SimplePie
- Use PHP 8.4+
\Domclasses and functions when available (polyfill for PHP < 8.4) FreshRSS/simplepie#98- Upgrade to PHPStan 2 FreshRSS/simplepie#97, simplepie#939
- Add unit test for HTML5 sanitizing compliance simplepie#1022
- Remove obsolete
xml_is_saneandXMLReaderfallback simplepie#1023
- Bump #9562, FreshRSS/simplepie#96
- Remove support for local files
- Ignore whitespace before the XML declaration
- Treat https Atom 1.0 namespace as Atom
- Use PHP 8.4+
- Deployment
- UI
- Extensions
- Add
feeds_after_actualizehook #9438
- Add
- I18n
- CI/CD
- Misc.