Skip to main content

9 posts tagged with "security"

View all tags

Uni-Verein 1.10.1 – First-Time Setup, New Device Notice and Preparation for Tenants πŸ›‘οΈ

Β· 5 min read
RenΓ© Herrmann
Senior developer

Published on November 3, 2026

Uni-Verein 1.10.1 gets rid of the well-known default password: a new installation creates the first administrator through a protected first-time setup. Uni-Verein also sends an e-mail on a login from a new device now. Under the hood the update prepares the database for multiple tenants and brings almost all dependencies up to date.

Highlights​

  • πŸ”‘ First-time setup (UV-72): No more user Admin with admin123, the first administrator is created on first access with a setup token
  • πŸ“§ New device notice (UV-69): An e-mail informs when someone logs in on an unknown device
  • 🏒 Preparation for tenants (UV-71): All data now belongs to a default tenant, a single installation behaves as before
  • ⬆️ Dependencies: ASP.NET Core 10.0.14, React 19, MUI 9, Vite 8 and more

New Features​

  • πŸ”‘ First-time setup (UV-72): A fresh installation has no user. On first access the frontend shows the first-time setup page (GET /setup/status, POST /setup) where the first administrator is created with user name, email address and password (10 to 50 characters). The request needs the SETUP_TOKEN from the .env, which docker-compose-ini.yml generates and passes on to the backend as Setup__Token. Without a token the setup is locked, so nobody can take over a freshly started server. Both endpoints have their own rate limit (RateLimiting__Setup__PermitLimit, RateLimiting__SetupStatus__PermitLimit), POST /setup answers 409 as soon as any user exists, even a deleted one
  • πŸ“§ New device notice (UV-69): When someone logs in with a browser that does not have the long-lived cookie uv_device yet, the user gets an e-mail with browser, operating system, IP address and time (in German and English). Only the hash of the cookie is stored, in the new table UserDevices. With two-factor authentication the mail is sent right after the correct password. Nothing is sent for a user's first device, for users without an email address or without stored mail settings, and at most one mail per user every 15 minutes. IP address and browser identification are neither stored nor logged, there is no location lookup

Changes​

  • πŸ‘€ No default administrator any more (UV-72): The user Admin with the password admin123 is no longer created. Existing installations keep their users and are no longer forced to change the password, a default password that is still set has to be changed by you under "Profile settings". The demo mode keeps its generated users
  • 🏒 Preparation for multiple tenants (UV-71): A new table Tenants with a fixed default tenant, every table except FirmwareVersions and FirmwareVersionNotifications gets a column tenant_id. The migration assigns all existing data to the default tenant, older backups can still be restored. Queries are filtered by the current tenant, new rows are stamped with it, booking numbers and payment acknowledgements are unique per tenant, background jobs run once per tenant and the login token carries a tenant_id claim (tokens without it stay valid). For now the tenant is always the default tenant, resolving and managing tenants is not part of this change
  • πŸ—„οΈ Entity Framework Core 10 and Npgsql 10 (UV-71): Needed for named query filters
  • ⬆️ Dependencies: Backend and frontend were updated, among others ASP.NET Core / EF Core 10.0.14, MailKit 4.18.2, Markdig 1.5.1, React 19, MUI 9, MUI X 9, Vite 8, vite-plugin-pwa 2, pdfjs-dist 6, tesseract.js 7, uuid 14 and TipTap 3.32.2. The vendored workers in frontend/public/pdfjs and frontend/public/tesseract were replaced and must always match the library version. CsvHelper 33.1.0, @fullcalendar/* 6.1.22 and typescript 6.0.3 were deliberately not updated
  • 🧰 Database migrator removed (UV-71): UniVerein.DbMigrator (the MariaDB to PostgreSQL copier) was removed, because the MySQL driver has no release for Entity Framework Core 10. The image ghcr.io/uni-verein/univerein-db-migrator:1.4.0 stays available, new versions are not published. The update path from MariaDB (v1.3.1 and earlier) moved to legacy-update/ with its own docker-compose-update.yml and README. The docker-compose-update.yml in the root only knows PostgreSQL and points to legacy-update/README.md when the compose file still uses MariaDB

⚠️ Update Notes​

  • Always update with docker-compose-update.yml, as described in the README
  • Check for a default password: There is no forced password change any more. If an account still has the password admin123, change it under "Profile settings"
  • New installations need the setup token (SETUP_TOKEN in the .env), see First-time setup. The .env.example file and docker-compose-ini.yml know the variable
  • API clients and tests that logged in as Admin with admin123 have to create the administrator through POST /setup. The E2E tests use TEST_SETUP_TOKEN, TEST_ADMIN_PASS and TEST_ADMIN_EMAIL for that
  • From MariaDB (v1.3.1 and earlier) you update through the legacy-update/ folder

Why These Updates Matter​

A well-known default password is a risk for every newly installed instance until someone changes it. With the protected first-time setup that window no longer exists. The new device notice makes stolen passwords visible before damage is done, and the preparation for tenants lays the foundation for future features without changing anything for existing installations.

What's Next?​

Further feedback from practice is as always very welcome, feel free to use GitHub Issues. Keep checking back here!

Uni-Verein 1.10.0 – Income, EÜR Export, Two-Factor Authentication and Demo Mode πŸ’ΆπŸ”

Β· 9 min read
RenΓ© Herrmann
Senior developer

Published on October 30, 2026

Uni-Verein 1.10.0 turns the contribution management into a complete income management with acknowledgements, stable booking numbers and payment date. The new financial analysis compares income and expenses and creates the EÜR export for tax purposes at the push of a button. On top come two-factor authentication, a demo mode and a whole series of security improvements. There are several things to note when updating, see the notes below.

Highlights​

  • πŸ’Ά Income (UV-65): The "Contributions" page is now the "Income" page. Besides membership fees there are freely configurable income categories such as donations or sponsoring, also without a bank connection
  • 🧾 Acknowledgements (UV-65): For every paid fee and every paid income an acknowledgement can be created as a PDF with a consecutive number
  • πŸ“‘ EÜR export (UV-65): The income and expense statement as an Excel file with tax checks, journal and fee proof. It needs a member with the task "Chief finance officer"
  • πŸ”’ Stable booking numbers (UV-68): E-YYYY-NNNN for income, A-YYYY-NNNN for receipts, plus an explicit payment date
  • πŸ“Š Financial analysis (UV-60): Income and expenses compared, replaces the receipt analytics
  • πŸ” Two-factor authentication (UV-67): Login with a code from an authenticator app and recovery codes
  • 🎬 Demo mode (UV-66): A demo instance with sample data that resets itself every night
  • πŸ›‘οΈ Hardening (UV-29, UV-64): Login token in an httpOnly cookie, mail encryption enforced, secured backup restore and more

New Features​

  • πŸ’Ά Income (UV-65): The "Membership fees" tab shows the SEPA fees, every further tab is a configurable income category (under "Manage income categories", e.g. "Donations"). Admins and Finance Managers can record, edit, mark as paid and delete income, Admins restore deleted entries. Key figures and a period filter (default: current year) are new. Paid fees are no longer deleted automatically after 14 days, the migration restores fees that were already removed this way
  • 🧾 Acknowledgements (UV-65): A PDF with a consecutive acknowledgement number (YYYY-NNNN) for every paid fee and every paid income. It is kept exactly as issued, afterwards the payment can no longer be changed. The acknowledgement is not a donation receipt under Β§ 10b EStG
  • πŸ“‘ EÜR export (UV-65): The EÜR export is available for Admins and Finance Managers on the "Financial analysis" page, for all years from 2020. The Excel file contains the sheets "EÜR", "Stammdaten", "Journal", "Beitragsnachweis" and "Hinweise". The tax checks use the limits of the exported year (€45,000 until 2025, €50,000 / €50,000 / €100,000 from 2026). Opening balances and the cash/bank reconciliation are empty cells to fill in by hand. For the treasurer to appear in the EÜR, there has to be a member with the task "Chief finance officer", see the prerequisites
  • 🏷️ Tax area (UV-65): Income and receipt categories have a tax area (non-profit sphere, asset management, purpose-related operation, commercial operation), the bank details an optional "Tax number"
  • πŸ”’ Booking numbers and payment date (UV-68): When booked as paid, every entry receives a booking number once, E-YYYY-NNNN for fees and income, A-YYYY-NNNN for receipts, which never changes and is never reused. The payment date (default: today) determines EÜR, financial analysis and income totals. Entries that are already paid keep their previous date, earlier figures do not change
  • πŸ“Š Financial analysis (UV-60): The financial analysis replaces the receipt analytics and compares income and expenses (overview, by month and category, category table). Only paid entries count, each in the month of its payment date, so the balance matches the EÜR. Open receipts no longer appear in the expenses until they are paid. Only Admins and Finance Managers can open it
  • πŸ” Two-factor authentication (UV-67): Under "Profile settings" β†’ "Security" every user sets up 2FA (TOTP) with a QR code and 10 recovery codes. With 2FA enabled the code prompt follows the password, wrong codes are blocked per address and per account (recovery codes keep working meanwhile). Admins can reset the 2FA of a user. The secret is stored encrypted, optionally the name in the app can be set with TwoFactor__Issuer. Not available in demo mode. If the only Admin loses device and recovery codes, there is no way back
  • πŸ”’ Sessions (UV-67): Logging out, changing the password and changing the 2FA end the sessions on all other devices
  • 🎬 Demo mode (UV-66): docker-compose-demo.yml builds nothing itself and needs no SQL dump. VERSION in the .env selects the published images, DEMO_DATA_PATH the data folder. With Demo__Enabled=true the backend wipes database and receipt files at every start and at 03:00 UTC every night and generates sample data relative to the current date. Mailpit catches e-mails at /mail/. GET /web-page-config returns demo, so the published frontend image shows the demo hint without its own build
  • πŸ‘₯ Finance Managers with more rights (UV-70): Finance Managers open the contribution plan administration and the income and receipt categories (the "Settings" menu shows them only these three entries) and create, edit and delete contribution plans and categories like Admins

Changes​

  • πŸͺ Login token in a cookie (UV-29): The token lives in an httpOnly cookie (uv_auth) instead of localStorage, so injected scripts can no longer read it. Cookie requests that change data carry the header X-UV-CSRF, Authorization: Bearer keeps working. GET /auth/me and POST /auth/logout are new. ?access_token= is no longer accepted on /backup, /receipts/export and /emailProgress
  • πŸ“§ Mail encryption (UV-64): With SSL enabled, an encrypted connection is enforced (TLS on ports 465/993, otherwise STARTTLS). Before, the mailbox password could be sent in cleartext when STARTTLS was missing. The test mail reports why something failed
  • πŸ”Œ API changes: GET /receipts/analytics is replaced by GET /finance/analytics. POST /contributions/{id} and POST /income/{id} expect { "paid", "paymentDate" } in the body instead of the query parameter paid, POST /receipts/{id}/pay and POST /income accept an optional paymentDate

Fixes and Security​

  • πŸ›‘οΈ Backup restore (UV-64): An uploaded SQL file can no longer run shell commands in the backend container (psql runs in restricted mode, PostgreSQL 17.6 or later is required, otherwise the restore is refused)
  • 🎬 Demo mode on the server (UV-64): Backup download and restore answer 403 DEMO_MODE_DISABLED in demo mode. Before, the demo mode only existed in the frontend
  • ⚠️ Demo wipe (UV-65): Wiping the database needs an explicit Demo__Enabled of true, 1, yes or on. Before, any other value (e.g. disabled) would have wiped a production database
  • πŸ“ Self-enrollment (UV-64): All text fields have a maximum length, POST /self-enrollment rejects bodies above 32 KB. Requests above a size limit (also receipt uploads) are answered with 413 instead of 500
  • πŸ’Ά Amounts (UV-64): Receipt and income amounts are limited to 1,000,000. Before, the finance analytics could no longer be loaded with receipts near the maximum value (HTTP 500). Amounts already stored above the limit are not changed
  • πŸ“„ CSV exports (UV-64): The receipts ZIP and the member export neutralise spreadsheet formulas (fields starting with =, +, - or @)
  • πŸ–ΌοΈ PDF preview (UV-64): Pages are rendered at a limited size, so a PDF with a huge page can no longer exhaust the browser. A tile that cannot be rendered shows a placeholder with the link to the original
  • πŸ”‘ Mail settings (UV-64): The SMTP/IMAP password must be entered again on every save, so the stored password cannot be redirected to another mail host
  • πŸ“Š Income totals (UV-65): Paid amounts are assigned to the period by payment date, paid income without a category is no longer left out
  • πŸ—‘οΈ Deleted fees (UV-65): A deleted fee can no longer be marked as paid

⚠️ Update Notes​

  • Always update with docker-compose-update.yml, as described in the README. The nginx.conf has to be updated together with the images (X-Forwarded-Proto), the update script takes care of that
  • All users have to log in once again after the update (new column Users.session_version and the switch to the cookie)
  • Assign tax areas: The migration sets all existing income and receipt categories to "Non-profit sphere". Assign the areas before you export the first EÜR, see Assign tax areas
  • For the EÜR: Create a member with the task "Chief finance officer" so the treasurer appears in the file
  • API clients: The token has to be sent as Authorization: Bearer (?access_token= is gone), POST /contributions/{id} and POST /income/{id} need the body { "paid", "paymentDate" }
  • Mail servers without encryption no longer work with SSL enabled
  • Open receipts appear in the financial analysis only once they are paid
  • Paid fees that used to be deleted automatically after 14 days are restored by the migration. In future paid fees are kept permanently

Why These Updates Matter​

With income, stable booking numbers and the payment date, Uni-Verein keeps the club's cash traceable: every payment has a fixed number and a date, donations can be documented with an acknowledgement, and the EÜR for the tax office is created from the same data as the analysis. Two-factor authentication protects accounts with access to member and bank data, and the hardening of tokens, mail encryption and backup restore closes several attack paths.

What's Next?​

Further feedback from practice is as always very welcome, feel free to use GitHub Issues. Keep checking back here!

Uni-Verein 1.9.1 – Membership Status, Better Contribution Management and More Security πŸ§ΎπŸ›‘οΈ

Β· 6 min read
RenΓ© Herrmann
Senior developer

Published on October 23, 2026

Uni-Verein 1.9.1 brings a membership status (member or supporting member), an improved contribution management with deletion of open contributions, and a considerably extended audit log. Several security improvements come on top. If you run your own reverse proxy in front of Uni-Verein, you have to set something up once when updating, see the update notes below.

Highlights​

  • ⭐ Membership status (UV-58): Every member is a member or a supporting member, with a column and filter in the member list and the contribution management
  • πŸ—‘οΈ Delete open contributions (UV-57): Admins and financial managers can delete open contributions, e.g. for returned direct debits. Admins can restore them
  • 🚫 No more billing after leaving (UV-63): Deleted members and members whose exit date has passed are no longer billed
  • πŸ“œ Extended audit log: Users, creditor data, contribution rates, contributions, mail settings, backup restore and CSV import are logged
  • πŸ›‘οΈ Safer login: The login lockout no longer affects all users of an account, and deleted or changed users lose access immediately

New Features​

  • ⭐ Membership status (UV-58): Members now have a membership status, adjustable in the form and in the CSV import as the column "Membership status" (MEMBER or SUPPORTING_MEMBER, empty = member). The member list and the contribution management get a column and a filter for it. The contribution management additionally shows the member number
  • πŸ—‘οΈ Delete open contributions (UV-57): Next to "Payment received" there is a trash icon that removes an open contribution after a confirmation. Contributions are soft-deleted and recorded in the audit log, admins can view them via "Show deleted" and restore them
  • πŸ“œ Audit log for all important actions: In addition to members, changes to users, creditor data, contribution rates, paid/open contributions, SMTP/mail settings, restoring a backup and the CSV import of members are logged. Passwords, IBAN/BIC and imported member data are not stored

Bug Fixes​

  • 🚫 Billing (UV-63): Deleted members and members whose exit date has passed are no longer considered when generating contributions and in the SEPA export. If the exit date lies in the future, the member is still billed until that date
  • πŸ‘₯ Member category filter (UV-61): When the member category filter is set back to "All", the list shows all members again
  • πŸ•΅οΈ Audit log (UV-10): Entries of deleted users are shown as "Deleted user" instead of being hidden
  • πŸ“± App icon on Android (UV-55): The web manifest has the correct content type, and a monochrome icon is included for the themed icons of Android 16. The app icons are RGBA PNGs, the iOS icon is opaque
  • 🌐 English texts of the contribution management: Because of a wrong translation key the English texts were not shown
  • πŸ“§ Update notice by e-mail: The "new version available" mail was sent to the admins every hour when one of them had no e-mail address. Such admins are skipped now
  • πŸ’Ά SEPA export: The IBAN and creditor ID checks only accept the digits 0-9, so invalid IBANs can no longer break the pain.008 file

Security​

  • πŸ” Login lockout per user name and address: The lockout is no longer counted per account but per user name and visitor address. An attacker can therefore no longer lock known accounts like Admin out permanently for everybody. IPv6 counts per /64 network, unknown user names are locked like known ones. The state is kept in memory and reset by a backend restart. More under User Account & Security
  • 🎫 Tokens are checked on every request: The login is checked against the current user and role on every request, deleted or changed users lose access immediately instead of after up to 8 hours
  • πŸ—ƒοΈ Deleted members: Only admins can still read or change deleted members, a second deletion no longer overwrites the original deletion time
  • πŸ“ Self-enrollment: The date of the SEPA consent is set by the server, sepaConsent is no longer accepted by POST /self-enrollment. HTML in names is encoded in system e-mails and broadcast mail placeholders, name fields are limited to 100 characters
  • 🧱 Proxy trust (nginx): X-Forwarded-For is no longer accepted from the whole range 172.16.0.0/12, which allowed bypassing rate limits and the login lockout and forging the IP of self-enrollments. Only the Caddy from docker-compose-tls.yml is trusted (fixed address 172.31.250.2 in the network edge)

Logging​

  • πŸͺ΅ Important actions are logged: Logins, user and member management, self-enrollment, CSV import/export, contributions, SEPA exports, receipts, mail, calendar, backups, settings and background jobs end up in the backend log with IDs and the ID of the acting user, plus failed token validations, forbidden access and rate limit hits. Personal data is no longer logged
  • πŸ“Š Every request once with status and duration: /health and the duplicate REQUEST: line that leaked the calendar feed token are gone. Failed backups and restores, unhandled exceptions (with stack trace), startup information and the hourly update check are logged properly

⚠️ Update Notes​

  • Always update with docker-compose-update.yml, as described in the README
  • A new database migration is included (AddMembershipStatusToMembers), it runs automatically at start. Existing members get the status "Member"
  • Option B only (your own reverse proxy): Next to the compose file, create the folder trusted-proxies and put the address of your proxy into a .conf file in it, e.g. set_real_ip_from 192.168.1.20;. Your proxy has to overwrite X-Forwarded-For with the visitor address (nginx: proxy_set_header X-Forwarded-For $remote_addr;). Without this step all visitors share one rate limit and one login lockout. The instructions are under Get Started, and the folder is not touched by updates. Option A (Caddy) needs nothing

Why These Updates Matter​

The membership status makes supporting members recognizable at a glance in the list and the contribution management, and deleting open contributions takes away the pressure of having to work around wrong or returned demands. Not billing members who have left prevents wrong bookings. The extended audit log shows traceably who changed what without storing sensitive data, and the security improvements make sure that the login lockout and rate limits really only affect attackers and not your own board.

What's Next?​

Further feedback from practice is as always very welcome, feel free to use GitHub Issues. Keep checking back here!

Uni-Verein 1.8.2 – Safer Mails, Masked IBANs, and Club Logo πŸ›‘οΈβœ‰οΈ

Β· 4 min read
RenΓ© Herrmann
Senior developer

Published on September 30, 2026

Uni-Verein 1.8.2 continues the security work from 1.8.1: mail bodies are sanitized on the server, IBANs are masked for regular users, and changing your password now requires the current one. On top of that come a dedicated sender name for mails and the club logo in the sidebar.

Highlights​

  • πŸ›‘οΈ Safer mails: Mail bodies are sanitized on the server. Only the formatting the mail editor can produce is kept, scripts, event handlers, javascript: links, forms, and iframes are stripped
  • πŸ”’ IBANs masked for regular users: Only ADMIN and FINANCIAL_MANAGER see full IBANs, the USER role sees them masked except for the last 6 characters
  • πŸ”‘ Password change requires the current password: Wrong attempts count towards the login lockout
  • βœ‰οΈ Sender name for mails: New "Sender name" field in the mail settings, so mails can show up as e.g. Vorstand <vorstand@verein.de>
  • πŸ–ΌοΈ Club logo in the sidebar: The sidebar now shows the logo from the general settings

New Features​

  • βœ‰οΈ Sender name (UV-47): The mail settings have a new optional "Sender name" field that recipients see as the sender. Previously the "Sender email (From)" value was used as both name and address, so entering a name there made sending mails fail. The sender email field now only accepts a valid address
  • πŸ–ΌοΈ Club logo in the sidebar (UV-24): The logo from the general settings appears in the top-left corner of the sidebar, both expanded and collapsed. The first letter of the club name is still used when no logo is uploaded

Security​

  • πŸ›‘οΈ Sanitized mail bodies (UV-17): The body of mails sent via /mail/send is sanitized server-side with HtmlSanitizer. Text, headings, lists, links, images, color, and alignment are kept. Scripts, event handlers, javascript: links, forms, and iframes are removed, and data: URLs are only allowed for inline images (no SVG). Markdown release notes in firmware update mails also no longer render raw HTML
  • πŸ”’ Masked IBANs (UV-26): Full IBANs of members are only returned to ADMIN and FINANCIAL_MANAGER. The USER role gets them masked except for the last 6 characters (member list, member create/update responses, and the "Pending members" review queue), so they can still check an IBAN and replace it with a new one. A masked IBAN sent back to the API is treated as unchanged and never stored
  • πŸ”‘ Current password required (UV-30): Changing your own password now requires the current password, both in the profile settings and when an admin edits their own account in the user management. Wrong attempts count towards the login lockout. Admins can still reset other users' passwords without it
  • 🧰 The transitive build dependency serialize-javascript was bumped to 7.1.2 to fix GHSA-gfhx-hw2g-v5hg (XSS via unescaped </script> in serialized function bodies, severity low)

⚠️ Upgrade Notes​

  • Always update with docker-compose-update.yml, as described in the README
  • The database migration (AddMailFromName) runs automatically on startup. Existing mail settings keep working, the new sender name is simply empty until you set it
  • If you entered a name in "Sender email (From)" as a workaround, move it to the new "Sender name" field. The sender email field now only accepts a valid address

Why These Updates Matter​

Email is a sensitive channel: anyone sending content from the editor should be able to rely on no active code travelling along. Masked IBANs make sure that bank details are only fully visible to those who really need them, and asking for the current password protects accounts even when someone briefly sits at an unlocked computer. A sender name and the logo also make the club easier to recognize in the inbox and in the interface.

What's Next?​

Real-world feedback is, as always, very welcome via GitHub Issues. Check back here again soon!

Uni-Verein 1.8.1 – HTTPS Included and Comprehensive Security Hardening πŸ”πŸ›‘οΈ

Β· 5 min read
RenΓ© Herrmann
Senior developer

Published on September 26, 2026

Uni-Verein 1.8.1 is a security release: the installation gets HTTPS out of the box, the login becomes much more resistant to attacks, uploads are checked more strictly, and all containers now run without root privileges.

Highlights​

  • πŸ” HTTPS out of the box: A new docker-compose-tls.yml plus Caddyfile puts Caddy in front of the stack and automatically fetches a Let's Encrypt certificate. This is now the recommended installation path
  • πŸ›‘οΈ Hardened login: Per-IP rate limiting, no more hints about whether a username exists, and lockouts last at most 15 minutes instead of up to 24 hours
  • πŸ”‘ No more default admin password in use: Logging in with admin123 now forces you to set a new password first
  • πŸ“¦ Safer uploads and containers: Receipt files are checked by their actual content, upload sizes are capped, and every container runs as a non-root user

New Features​

  • πŸ” HTTPS with Let's Encrypt (UV-27): docker-compose-tls.yml and Caddyfile set up automatic HTTPS (requires a DNS record plus ports 80 and 443). The self-update flow detects and supports both setups and also updates the Caddyfile. nginx recovers the real client IP behind Caddy, so rate limiting and audit logs keep working
  • 🚦 Login rate limiter (UV-31): /auth/login is limited per IP address (default 20 requests per window, configurable via RateLimiting:AuthLogin:PermitLimit)
  • πŸ”‘ Forced password change (UV-25): Logging in with the default password admin123 opens a dialog that can't be dismissed until a new password is set
  • πŸ” Automated dependency checks (UV-42): npm audit --audit-level=high runs in CI, plus Dependabot (one bundled weekly PR, no major updates)

Improvements​

  • πŸ”’ Authentication by default (UV-41): Endpoints now require authentication by default. Intentionally public ones (login, self-enrollment, public page configuration, /health) are explicitly allowed
  • ⏱️ Fairer lockouts (UV-45): Failed login attempts expire after 15 minutes, and the lockout is capped at 15 minutes (previously up to 24 hours)
  • πŸ‘€ Admin protection (UV-25): The default admin account is only created when no users exist at all. Admins can no longer delete their own account or change their own role
  • 🧾 Uploads checked by content (UV-32): Receipt files are validated by their magic bytes (PNG, JPEG, GIF, WebP, PDF) instead of the type reported by the browser. SVG and unknown formats are rejected. Downloads send X-Content-Type-Options: nosniff and Content-Disposition: attachment
  • πŸ“ Upload limits (UV-43): The global request limit drops from 10 GB to 100 MB, only the backup restore keeps 10 GB. Receipt files and the CSV import of members are capped at 10 MB per file, and oversized PDFs are rejected right in the browser
  • 🧱 Security headers (UV-33): Both nginx configs send CSP, X-Frame-Options, nosniff, Referrer-Policy, and Permissions-Policy
  • 🌐 CORS (UV-28): Allowed origins are configured via Cors:AllowedOrigins (empty in production) instead of allowing any localhost origin
  • πŸ”— Safe confirmation links (UV-35): Self-enrollment links use a stored PublicBaseUrl instead of the request's Host header, preventing phishing links via forged hosts
  • πŸ“¦ Containers without root (UV-37): All containers run as non-root users, with cap_drop: [ALL] and no-new-privileges where possible
  • πŸ—οΈ Secrets (UV-38, UV-39): The init script generates random database passwords and only prints the names of the .env keys, not their values. .env.example ships placeholders only instead of real keys
  • 🧰 Dependencies (UV-40): Serilog.Sinks.File is pinned to the stable 7.0.0, the unused BCrypt.Net-Next was removed, plus minor/patch updates for backend and frontend

Fixes​

  • πŸ–₯️ Blank screen after login (UV-18): After an update, stale lazily-loaded parts of the app could cause an empty screen. The app now reloads automatically when a new service worker takes over
  • πŸ”” Firmware hint (UV-46): The firmware-update hint now compares real version numbers and only shows when a newer version actually exists
  • πŸ•΅οΈ Username enumeration (UV-44): Login response timing no longer reveals whether a username exists. Raw usernames are no longer written to the log
  • 🌍 Forged IP headers (UV-34): X-Real-IP is only trusted from private/internal networks, so IP-based rate limits can no longer be bypassed with a spoofed header

⚠️ Upgrade Notes​

  • Always update with docker-compose-update.yml, as described in the README. Proxy and frontend now listen on port 8080 inside the container (the host port stays 80), so nginx.conf and the compose file have to be replaced together. The update script does this for you
  • logs/ and receipts/ must be writable by the non-root backend (UID 1654). The update script handles this via docker-compose-ini.yml. On a manual setup, run chown -R 1654:1654 logs receipts
  • Self-enrollment users: If self-enrollment was already enabled before this update, an admin has to open the general settings and save them once. This stores the public URL used in confirmation links. Until then, new submissions fail
  • The database migration (AddLastFailedLoginAttemptAndPublicBaseUrl) runs automatically on startup

Why These Updates Matter​

A club management system holds names, addresses, and bank details, so it should be run as securely as possible. With HTTPS out of the box, a more robust login, and stricter checks for uploads and network access, 1.8.1 closes a whole series of possible attack surfaces at once. Running the containers without root privileges also limits the damage should something ever go wrong.

What's Next?​

Real-world feedback is, as always, very welcome via GitHub Issues. Check back here again soon!

Uni-Verein 1.7.0 – Self-Enrollment for New Members πŸ“

Β· 2 min read
RenΓ© Herrmann
Senior developer

Published on September 5, 2026

Uni-Verein 1.7.0 makes onboarding new members easier: prospective members can now sign themselves up through a public form, no account needed. This release also ships important security updates for a couple of dependencies.

New Features​

  • πŸ“ Self-enrollment: A new, publicly reachable form lets prospective members sign themselves up as a member, no account required
  • πŸ”’ Server-enforced hidden fields: Data that only users may set or that is assigned automatically (task within the club, date fields, SEPA consent) is hidden from the public form and enforced server-side
  • 🚫 Duplicate checks: Email address and IBAN are checked for duplicates just like when an user creates a member, and rejected on a match
  • πŸ”— "Self-enrollment" toggle: A new setting in the general club settings that turns the public form on or off, including a button to directly share the link

Improvements​

  • 🧩 Member-creation logic was consolidated into a shared MemberService.CreateMemberAsync instead of being duplicated between user creation and self-enrollment
  • 🧩 Recurring EF Core queries were unified behind a new ReferenceDataService
  • 🌐 frontend/nginx.conf now serves the SPA with a try_files fallback to index.html

Security​

  • πŸ” Updated the fast-uri and @tiptap/* dependencies, closing four High-severity SSRF/host-confusion advisories and one Moderate-severity prototype-pollution-to-XSS advisory

Why These Updates Matter​

Self-enrollment takes a lot of manual work off a club board's plate: instead of creating every new member one by one, you simply share the form's link and prospective members enter their own details. Server-enforced fields and the duplicate checks keep data quality on par with an admin-created member. The security updates also close known vulnerabilities in dependencies the project relies on.

What's Next?​

As always, feedback and feature requests are very welcome via GitHub Issues. Check back here again soon!

Uni-Verein 1.3.1 – Faster Load Times and an Important Security Fix ⚑

Β· 2 min read
RenΓ© Herrmann
Senior developer

Published on July 26, 2026

Just one day after 1.3.0, Uni-Verein 1.3.1 follows with a clear focus: noticeably better frontend performance and an important security fix.

Improvements​

  • πŸš€ Lazy loading of frontend routes: Page components (Mail, Members, SEPA, Contributions, user/link/contribution-plan/email/creditor/general/member-category configuration, Audit, Backup) are now loaded on demand instead of being bundled into the initial payload, the main bundle shrinks from about 1.4 MB to about 577 kB
  • πŸ–ΌοΈ The icon picker ("Select icon") now caps the number of rendered icon tiles at 250 and prompts for a more specific search beyond that, instead of mounting all ~8,600 icons at once, this previously froze the UI for over a second every time the dialog was reopened
  • ⏳ The icon picker now waits for icons to be fully loaded/cached before revealing the grid, showing a loading spinner in the meantime instead of an empty or partially populated dialog
  • 🧹 IconPickerDialog.tsx no longer redundantly dynamically imports muiIcons for loadIconNames when it's already imported statically elsewhere, resolving a Vite build warning and allowing the module to be chunked correctly
  • βš™οΈ The enforce-source-branch CI job from 1.3.0 now also runs for pull requests targeting development, so merging main back into development isn't blocked by a status check that previously only evaluated PRs targeting main

Bug Fixes​

  • πŸ› Vite's chunk-size warning for the @mui/icons-material barrel (loaded on demand by the icon picker) is now suppressed via chunkSizeWarningLimit, since that chunk is expected to be large and is never part of the initial page load

Security​

  • πŸ” Bumped the brace-expansion npm override to ^5.0.8 to close a high-severity ReDoS advisory (exponential-time expansion of consecutive non-expanding {} groups); the previous override version had drifted out of sync with the lockfile and a duplicate vulnerable copy remained nested under filelist

Why These Updates Matter​

The icon picker in particular had felt noticeably sluggish, thanks to lazy loading and capping the number of rendered icons, the UI now responds much more smoothly. The smaller main bundle also means Uni-Verein loads faster, especially on mobile connections. The ReDoS fix additionally closes a high-severity vulnerability in a transitive dependency.

What's Next?​

This performance work pays off directly in the user experience. Bigger feature additions are up next. Check back soon!

Uni-Verein 1.3.0 – Name Search for Newsletter Recipients and a More Stable Infrastructure πŸ”

Β· 2 min read
RenΓ© Herrmann
Senior developer

Published on July 25, 2026

Uni-Verein 1.3.0 brings a handy new search feature for sending newsletters, along with a number of under-the-hood improvements that make deployments and CI runs more reliable.

New Features​

  • πŸ” Name search in the Broadcast email "Recipient" tab: Recipients can now be filtered by first or last name (fuzzy, Jaro-Winkler similarity), in addition to the existing member category filter
  • ❀️ /health endpoint: A new unauthenticated GET /health endpoint plus Docker HEALTHCHECKs for backend and frontend

Improvements​

  • 🩺 backend, frontend, and proxy now have proper health checks (previously only the database did), and each service waits for its dependencies to be actually ready (service_healthy) instead of just started, across all docker-compose*.yml files
  • 🚦 CI now fails immediately with container logs attached when the stack doesn't become healthy in time, instead of silently continuing on to the Playwright tests and failing there with no diagnostics
  • ⏱️ Increased the database health check's retry budget to tolerate occasional slow first-time initialization on CI runners
  • πŸ“ .env.example now lists BACKUP_PATH, matching every value docker-compose-ini.yml generates
  • πŸ”’ CI now enforces that PRs into main may only come from development (new enforce-source-branch job)

Bug Fixes​

  • πŸ› The newsletter recipient category dropdown showed the raw translation key instead of the category name for custom (non-default) member categories
  • πŸ› The proxy container could stay unhealthy indefinitely because its health check resolved localhost to IPv6 while nginx.conf only listens on IPv4
  • πŸ› The backend Docker image build occasionally failed due to transient package-mirror errors during apt-get install

Security​

  • πŸ” Pinned sharp to ^0.35.3 via npm overrides to pull in a fixed version instead of the vulnerable transitive one

Why These Updates Matter​

The name search saves a lot of time for larger organizations that need to quickly find individual newsletter recipients. Just as important are the health check improvements: they make deployments start up more reliably and surface CI problems immediately with meaningful logs, instead of only showing up late and without context.

What's Next?​

Work on performance and infrastructure continues, the next release already focuses on noticeably faster load times.

Uni-Verein 1.0.1 – Security Update for the Frontend πŸ”’

Β· One min read
RenΓ© Herrmann
Senior developer

Published on July 12, 2026

Just a few days after the big release of the first version, the first update has already arrived: Uni-Verein 1.0.1 is here. This time it's a small but important security update.

What Changed?​

A security vulnerability (CVE-2026-33630) was identified in the frontend's Docker image. This update adjusts the underlying Dockerfile to close the vulnerability.

  • πŸ”’ Security fix: Updated the frontend Dockerfile to resolve CVE-2026-33630

Why Does This Matter?​

Since Uni-Verein is used by organizations with sensitive member data, the security of the software is a top priority for me. Security updates like this one are therefore rolled out as quickly as possible whenever known vulnerabilities are identified.