| Changelog | Rolls up 4.6.1–4.6.28. No new migration since Version000406020Date20260810000000; a rebuild is required (npm run build) — both for the version bump, which invalidates the integrity manifest, and for the one source change below.
What the 4.6 line delivered, one line each
- 4.6.6–4.6.11 — bulk team import: its own tab, multiple admins per team, resolved account names, underscores and Collectives named properly, and
team: in a member list accepting a name.
- 4.6.12 — a bulk-imported team admin is activated outright instead of being left on a pending invite (level 8 with no
circles_membership row meant no access at all).
- 4.6.13–4.6.16 — the team-expiration workflow: request, decide, warn (no CHANGELOG entry of their own — see Known gaps).
- 4.6.17 — a copied
?team= link works for the person you sent it to (join / request-to-join / invite-only), and two join-gate holes close: invite-only teams were joinable by crafted POST, and approval-required teams auto-approved.
- 4.6.20 — every TeamHub-created team calendar was published to the internet; the public share is removed and revoked by migration, replaced by an in-app FullCalendar grid. Team names move to a harm-based blocklist capped at 120 characters, and duplicates are refused.
- 4.6.21 — dates belong to the reader:
TimezoneService and src/lib/localDate.js fix meetings created at the UTC offset and "today" meaning the UTC day in 17 browser places and several server paths.
- 4.6.22 — the expiration workflow gets an ending: approved / denied / superseded requests appear as Completed instead of vanishing from both sides.
- 4.6.23–4.6.24 — Deck boards and Talk conversations follow team ownership, and the corrections from the first real transfer: access comes from team membership afterwards, not from a personal grant left behind.
- 4.6.27 — the Maintenance expiration panel goes from eleven blocks to four, and
{n} day left stops rendering its English plural in every locale.
- 4.6.28 — bulk team export becomes a licensed feature; bulk import deliberately stays open.
Security
- A decision's
sourceRef was stored with no scheme check and rendered into an href and an iframe src. DecisionService's own contract note has said "controllers must validate" since the field was added; no controller did, and propose() checked length only. TeamDecisionsView hands a ref whose sourceType is url to openSourceUrl(), which puts it in <a :href> and <iframe :src> — a javascript: ref there is stored XSS in the Nextcloud origin, executable by anyone who opens the decision.
It was not reachable through propose(), because ALLOWED_SOURCE_TYPES does not contain url — the value the render branch keys on. That is an accident of an unrelated allowlist rather than a defence of this field, and the render path stays live for any legacy row already carrying that type. Fixed at both ends: assertSourceRefSchemeSafe() refuses a scriptable scheme (javascript, data, vbscript, file, blob) or any non-http(s) scheme:// form on write, and openSourceUrl() re-checks at the sink with new URL() — the half that protects rows stored before the server check existed. The sink stores parsed.href, so the value that was validated is the value that reaches the attribute.
The two checks are deliberately not the same check. The server is looser than DecisionExternalLinkService::validateUrl()'s strict http(s) allowlist, because sourceRef legitimately holds a bare message id, a .proposals/…md path or prose; the strict allowlist is applied at the sink, where the value is about to become a URL and nothing else. Copying either rule to the other end breaks something: the strict one rejects valid data, the loose one lets a protocol-relative //evil.example/x through. Reasoning in DESIGN.md §2.100.
Control characters are stripped before matching, since a browser dispatches java\tscript: as javascript:. Spaces are not — stripping them too would join see http://x.com into seehttp://x.com and refuse a legitimate free-text ref. Behaviour pinned against 24 inputs covering scriptable schemes, mixed case, embedded control characters, protocol-relative URLs, ids, paths and prose.
Added
- One string — the refusal shown when a source link is not http(s) — keyed in all seven locale files.
Removed
- The unconditional
console.log in ProjectSwimlaneView.vue's buildDependencyEdges(), added as a diagnostic in 4.3.18 and shipped ever since. It fired on every canvasLayout compute — spreading an object, materialising [...cardAnchor.keys()] and mapping a five-event sample on each render, whether or not anything was wrong. The five skip counters and two id arrays that existed only to feed it are gone with it; the supported parameter stays in the signature, as it already did.
Known gaps
- Nineteen versions in the 4.6 line have no CHANGELOG entry: 4.6.1–4.6.5, 4.6.13–4.6.16, 4.6.18, 4.6.19, 4.6.25 and 4.6.26. Several are provably real — 4.6.13 created the expiry indexes this file still cites, 4.6.14 shipped the export routes 4.6.28 documented, 4.6.16 introduced the Email-owner gating — so this is step 5 being skipped at session end, not versions that never existed. The pattern is recorded in
HANDOFF.md §3 with two earlier instances.
Notes
- The full Nextcloud security-guideline checklist was walked at close, against the app as it stands rather than against a diff — this working copy has no git. Results by guideline: 1 no raw SQL beyond four bound
? statements, no interpolation into any QueryBuilder string method, every orderBy() a column literal and every createFunction() a literal fragment. 2 six v-html bindings, all fed from marked → DOMPurify.sanitize(); both PHP templates escape through htmlspecialchars(); the one unvalidated URL sink is fixed above. 4, 6 no eval, exec, shell_exec, system, proc_open, passthru, popen, call_user_func or unserialize anywhere in lib/. 7 no #[PublicPage] and no #[CORS] in the app at all; getTeamPreview(), the one deliberately un-gated endpoint, still requires a session, shape-guards its id, binds both parameters and gates on source = 16. 9 all 310 routes cross-checked against the 121 CSRF-exempt methods: only two non-GET routes are exempt (integration#registerIntegration, integration#deregisterIntegration), both admin-gated with the reason documented in place, and no GET route mutates. 3 no X-Frame-Options or CSP manipulation anywhere, so the framework defaults stand. 5 the one filesystem read driven by a name (AnnouncementService::loadMarkdownBody) resolves only against a server-side registry and re-rejects /, \ and .. before touching disk; the CSV and image uploads basename() the client-supplied name. 8 no password, API key or credential reaches a log; what appears in log context is Talk room tokens, which are conversation identifiers already in every member's URL — not the bearer secret 4.6.20 removed. 10 no RedirectResponse in the app at all, so there is no redirect surface. 11 the link-preview and image-proxy paths validate every redirect hop, reject encoded-IP forms, resolve DNS and check every A/AAAA record, and fail closed.
- Guideline 7 cannot be verified mechanically in this codebase, and that is worth knowing. A script flagged 40 of 184 team-scoped routes as ungated; every one sampled turned out to be gated, just under a different name each time —
requireAdminLevel, getMemberLevelFromDb plus an inline level comparison, requireLinkLevel, requireLaneWithEdit, requireActionLevel, or a service throwing AccessDeniedException. There is no single gate idiom to grep for, so the check is manual by construction. Recorded in HANDOFF.md.
- Not covered: no PHP was executed —
php is not on the development machine's PATH, so not even php -l ran against the changed service.
oc_migrations carries a stale teamhub / 000407000Date20260810000000 row from the 4.7.0 that was rolled back on 2026-08-10. Nothing looks it up and this release adds no migration, so it stays harmless — but that class name is now burnt: a migration created under it would be treated as already applied and never run.
<hr /> |