Skip to content

v.0.12.0

Choose a tag to compare

@maxhaesslein maxhaesslein released this 08 Oct 16:43
· 21 commits to main since this release
ad85610

Beginning with this release, LLMs are used to assist with the development of this project, for example for code, documentation and translations. All AI-assisted changes are reviewed and tested by a human before they are released. The tool and model used for a change is noted in the corresponding commit message.

security improvements. this update is recommended for all users.

  • escape dynamic content in HTML output
  • sanitize superglobals
  • CSRF protection for forms
  • rate limiting for forms
  • made PHP Sessions more secure
  • improve directory traversal protection
  • harden .htaccess rules to protect the image and zip cache files
  • protect img, download and api routes behind the password and secret gates
  • add rate limiting for secret key attempts
  • use cryptographically secure session cache ids and regenerate the session id on login
  • verify secrets with strict comparison and check the referer before storing secrets
  • escape debug output, site titles and sharing meta tags
  • remove the insecure sanitize_request() helper
  • limit generated image dimensions to prevent memory exhaustion
  • new config option client_ip_source to configure the client ip detection (only use forwarded headers behind a trusted reverse proxy)