v3.3.22
3.3.22 is a security hardening release. It tightens several admin, OIDC, updater and static-file code paths, and fixes the OIDC login page hanging, plugin uninstall breaking core, and an almost empty admin plugin catalog. Upgrading is recommended.
- Diagnostics — the client error-reporting endpoints now bound what they accept (#8524).
/jserrorlimits form fields to 100KB (the same limit asexpress.json()) and logs reports with a finite depth. The connection-diagnostic log formatter caps nesting depth and output length. Normal client reports are a few KB and are unaffected. Reported by @gosusnkr. - Updater — the state file is written without following symlinks (#8525). The updater's temporary state file is now created fresh instead of written through whatever already sits at that path. Reported by @msaadraj.
- OIDC and admin — stricter request checks (#8526). The OIDC login and consent pages only accept a well-formed interaction id before posting.
POST /admin/update/{apply,cancel,acknowledge}from a browser now needs anX-Requested-Withheader, which the admin update page sends. Scripts using curl or basic auth work as before. Reported by @msaadraj. - Admin — the admin UI can only be framed by Etherpad's own origin (#8527).
/adminand/admin-authnow sendContent-Security-Policy: frame-ancestors 'self'andX-Frame-Options: SAMEORIGIN. Pads, the timeslider, exports and other routes are unchanged and stay embeddable. Reported by @AzhariRamadhan. - Static files — stricter path checks on Windows (#8534).
/static/*now rejects colons on Windows (drive designators and stream names), and on every platform rejects NUL bytes and..components and checks the resolved file stays inside its base directory. Reported by @superbot-helper.
- New setting
adminFrameAncestors(default[]) lists extra CSPframe-ancestorssources for deployments that embed the admin UI on purpose. When it is set,X-Frame-Optionsis not sent. Invalid entries are ignored with a warning. - Custom clients that call
POST /admin/update/*from a browser must send anX-Requested-Withheader. Seedoc/admin/updates.md.
- OIDC — the login and consent pages no longer hang (#8529, #8528). The JSON body they post to
/interaction/:uidhad already been read by the global JSON parser, so the request never got a response. The handler now uses the parsed body. - Plugins — uninstalling a plugin no longer breaks core's dependency links (#8533, #8532). Uninstalling a plugin such as
ep_set_title_on_padcould unlink core's ownlog4jslink, after which Etherpad would not start. Core dependencies are now never unlinked, and only links that point intoplugin_packagesare removed. - Admin — the plugin catalog ignores implausible compatibility verdicts (#8530). When the plugin feed marks more than half of its entries as
failed, core treats it as a broken registry run and ignores the compatibility verdict for that refresh, logging a warning. The superseded list and npm deprecation still apply.
v3.3.21
3.3.21 is a security hardening release. Pad socket.io connections now only use the visitor's cookies when they come from Etherpad's own pages. It also fixes pads embedded cross-site over plain http and an intermittent 404 on LibreOffice exports. Upgrading is recommended.
- Collaboration — pad socket.io connections only use the visitor's cookies when they come from Etherpad's own pages (#8514). A pad socket identifies the visitor from the cookies the browser sends with the handshake: the author token, an HTTP API group session and, with
requireAuthentication, the login session. Browsers send those cookies with handshakes from any page on the same site, for example another subdomain of your domain. The pad page now fetches a short token fromGET /pad-socket-tokenand sends it with the handshake, and same-origin connections are recognised fromSec-Fetch-Site. A pad socket opened by a page on another origin still connects, but its cookies are ignored, so it gets a fresh anonymous author with no group session and no login. Plugin hooks don't see those cookies or the login on such a socket either. Clients that send noOriginheader, such as thepadCLI, bots and load tests, are not affected. Reported by @brx-zyy.
- No configuration change is needed, including behind a reverse proxy that rewrites the
Hostheader and for pads embedded in an iframe on another site: an embedded pad is an Etherpad page, so its socket comes from Etherpad's own origin. The check the pad page relies on does not depend onHost,trustProxyorpublicURL. - New setting
socketIo.crossOriginPadSocketsdecides what happens to a pad socket opened by another origin:"anonymous"(default) ignores its cookies,"reject"refuses the connection and"allow"keeps the old behaviour. An unknown value logs an error and falls back to"reject". - New setting
socketIo.padAllowedOriginslists extrascheme://host[:port]origins whose pages may open pad sockets with the visitor's cookies. Origins insocketIo.allowedOriginsare trusted for pads too. - If your integration sets the
sessionIDcookie itself, give it aPaththat also covers/pad-socket-token(normallyPath=/).
- Embedding — a pad embedded cross-site over plain http loads again (#8515, #8513). The browser rejects the prefs cookie in that case (
SameSite=NoneneedsSecure), and the pad then failed to finish loading. The pad now keeps its prefs in memory when the cookie can't be read or written. It loads with default prefs, and settings changed during the visit apply until reload. - Export — LibreOffice exports no longer intermittently fail with a 404 (#8517). The converted file could be deleted while it was still being sent. The temp files are now removed only after the response has been sent, and also when sending fails.
- Dependency updates, including mssql 12.7.16, express-rate-limit 8.7.5, jose 6.2.18 and @tanstack/react-query 5.108.0.
v3.3.20
3.3.20 hardens the admin sockets. The admin settings and plugin pages now only accept socket connections opened by Etherpad's own admin page. It also fixes the pad counter on the admin pads page. Upgrading is recommended.
- Admin — the admin socket.io namespaces now check where a connection comes from (#8511). The
/settingsand/pluginfw/installernamespaces used to accept any handshake that carried an admin session cookie. Browsers send that cookie with WebSocket handshakes from any page on the same site, for example another subdomain of your domain. Connections are now accepted only when the browser reports them as same-origin (Sec-Fetch-Site), or when they carry a per-session token that the admin page fetches from Etherpad. Clients that send noOriginheader, such as scripts, are not affected. Plugins with their own privileged namespaces can reuse the check asoriginCheckMiddleware. Reported by @brx-zyy.
- No configuration change is needed, including behind a reverse proxy that rewrites the
Hostheader: the check does not depend onHost,trustProxyorpublicURL. A newsocketIo.allowedOriginssetting (SOCKETIO_ALLOWED_ORIGINSin Docker) lets you allow additional origins, if a page on another origin needs to use the admin namespaces. If the admin page shows "The server refused this admin connection", check the server log for the rejected origin.
- Admin — the pads page no longer piles up socket listeners (#8497, #8457). Every update of the pad list added another set of listeners without removing the old ones. Deleting pads then made "Total pads" drop by 2, 3, 4 and go negative, and creating a pad reloaded the list more and more times. The listeners are now removed when the list changes.
- The snap's stable channel is now promoted from the tested edge revision instead of a fresh upload (#8450).
- Fixed dead links to the Easysync PDFs in the docs (#8503).
- Localisation updates from translatewiki.net.
- Dependency updates, including oidc-provider 9.15.0, rate-limiter-flexible 11.5.0, nodemailer 10.6.0 and @tanstack/react-query 5.107.2.
v3.3.19
3.3.19 is a bug-fix release. Users who share an IP, for example several tabs or people behind one proxy or the Home Assistant add-on, are no longer disconnected by the message rate limiter. Plugin icon fonts load again in production mode.
- Collaboration — the pad message rate limit now applies per connection, with a burst allowance (#8498).
commitRateLimitingcounted messages per IP. Every tab and every user behind the same proxy shared one budget of 10 messages a second. When a tab joined a pad, plugins such as ep_webrtc sent a burst of signalling messages. That pushed the shared IP over the limit, so tabs kept getting disconnected ("Reconnecting…") and chat messages were dropped. The limit is now counted per socket connection. On top of the steady rate, a new burst budget (commitRateLimiting.burstPoints, default 50, overburstDuration, default 10 seconds) absorbs join spikes. A connection that keeps flooding is still disconnected. OthercommitRateLimitingoptions such asblockDurationnow pass through. If you need a per-IP connection cap, set it at your reverse proxy. ep_webrtc 2.5.56 also batches its ICE candidates into fewer messages. - Plugins — icon fonts load again in production mode (#8501). Since 3.3.17 (#8373), the CSS minifier rewrote relative font URLs against the symlinked plugin path instead of the real one. Plugin fonts then 404'd, which left icons such as ep_webrtc's screen-share button blank. Font URLs are now rebased against the real stylesheet path.
v3.3.18
3.3.18 is a bug-fix release. Text typed from clients that send multi-line keep or delete ops, such as the pad terminal client, no longer appears scrambled in watching browsers. A socket that sends overlapping joins can no longer end up in two pad rooms. The Colibris home page also follows dark mode.
- Collaboration — multi-line keep and delete ops are split at line boundaries (#8495, #8487). A client could send a keep or delete that spans several lines but ends mid-line, for example
|5=1tinstead of|5=1s=1. The server applied it correctly, so export and reload looked right. But browsers apply incoming changes line by line, so watching users saw the typed text out of order or reversed. The server now re-splits such ops before storing and broadcasting them, so existing clients render correctly without an update. A resent edit is still recognised as a retry and isn't applied twice. Thepadclient has also been fixed (ether/pad#4). Reported by @zzkt. - Collaboration — superseded
CLIENT_READYjoins are discarded (#8461, #8460). When one socket sent overlappingCLIENT_READYmessages, a slower, older join could finish after a newer one and leave the socket in two pad rooms. Only the latest join now takes effect. A failing leave notification during a pad switch no longer aborts the new join. Thanks @Aschenbath.
- The Colibris home page follows the browser's dark mode when
enableDarkModeis on, and respects a light-mode choice saved in a pad (#8486). Thanks @rittmeier. - Localisation updates from translatewiki.net.
- Dependency updates, including jsdom 31.0.1, oidc-provider 9.14.0, mongodb 7.9.0, nodemailer 10.5.0 and openapi-backend 5.24.0.
v3.3.17
3.3.17 is a security release. It caps the length of author display names, which any visitor could set to almost 1 MB, and fixes .etherpad imports into pads created through the HTTP API. Upgrade as soon as you can.
- Pads — author display names are now type-checked and capped at 128 characters (GHSA-w4w9-j4c3-hjf6, #8475). The name sent in
CLIENT_READYandUSERINFO_UPDATEwas stored with no type or length check, so a visitor with no account could save a name of nearly 1 MB, bounded only by the socket's message size. That name was then sent to everyone who opened the pad. A name that wasn't a string also broke the admin author search. Names must now be strings and are trimmed and cut to 128 characters, with any Unicode accepted. Names already stored are capped when read back, so oversized records are no longer rebroadcast. The pad's name fields enforce the same limit. Reported by @MAYASEVEN.
- Import —
.etherpadfiles import again into pads created through the HTTP API (#8470). Since 3.3.13 (#8420), importing a.etherpadfile from the import dialog failed with a permission error when the target pad was created bycreatePad,createGroupPad, admin create-pad or ep_post_data, and the file came from a pad a browser created. When the importer isn't the target pad's creator, the file's first author is now rewritten to that creator. Text keeps its original authorship. An importer still can't make themselves the creator, and pad settings still come from the target pad.
- Localisation updates from translatewiki.net.
- Dependency updates.
v3.3.16
3.3.16 is a security release. It fixes a race in the collaboration socket that could expose and write to pads the user was not allowed to open, and picks up the ueberDB MSSQL fix. Upgrade as soon as you can.
- Collaboration — every socket message now stays bound to the pad it was authorized for (GHSA-c36r-65p6-q3m9, #8458). The earlier fix for GHSA-6mcx-x5h6-rpw2 only pinned the target pad for USER_CHANGES. Chat, history (CHANGESET_REQ), saved revisions, pad options and pad deletion still read the pad from the socket's session when they ran. A second CLIENT_READY on the same socket rewrote that session before its own access check. A message authorized for one pad could then run against another, which leaked the other pad's text, history and chat and let chat messages and saved revisions be written into it, including on pads the user could only view. CLIENT_READY now changes the session only after access is granted, and each message carries the pad and access mode it was authorized with. Reported by @leograntquinn-crypto.
- Database — ueberdb2 6.1.19 (#8444). Fixes SQL injection in the MSSQL driver's bulk writes (GHSA-xmqq-59rx-x7pf). Only installs using
"dbType": "mssql"are affected.
- The default-content author test no longer depends on the local
defaultPadTextsetting (#8445). - The Docker workflow now records the release version (#8456).
- Dependency updates, including undici 8.12.4, mssql 12.7.14, entities 9.0.0, surrealdb 2.2.2 and resolve 1.22.14.
v3.3.15
3.3.15 is a packaging release. It shrinks the Debian package so it can be published to the apt repository again.
- Debian package — the .deb is back under GitHub's 100 MB file limit (#8442). The 3.3.14 apt publish failed because
etherpad_3.3.14-1_amd64.debwas 101 MiB. The package build copied the whole workspacenode_modules, devDependencies included. It now does a fresh production-only install, which brings the amd64 .deb down to about 46 MiB. The built admin UI still ships, and the build now fails if a .deb goes over 95 MiB.
- CI now runs ep_ai_core and ep_ai_mcp in the with-plugins backend jobs (#8431).
- Dependency updates, including nano 11.0.8, surrealdb 2.2.1, express-rate-limit 8.7.3, rate-limiter-flexible 11.2.4, semver 7.8.6 and @tanstack/react-query 5.105.3.
v3.3.14
3.3.14 is a bug-fix release. It fixes a SIGTERM that could be lost during startup, two updater bugs, a join race that disconnected editors under load, and the overlapping controls in history mode.
- Server — a SIGTERM sent during startup is no longer lost (#8421, #8423). Startup removed the existing SIGINT/SIGTERM listeners before adding its own, so for a moment there were none and Node dropped a signal that had arrived while startup was busy. Etherpad then kept running until systemd sent SIGKILL. The new listener is now added before the old ones are removed. Reported by @ManUtopiK.
- Updater — Apply no longer fails on its own lock file, and a finished update shows as verified (#8411, #8412, #8425). Apply took
var/update.lockbefore checking for a clean git tree, so the check always saw the lock file and failed withdirty-working-tree. The check now ignores the files the updater writes itself. The first version check after boot also wrote the oldpending-verificationstate back oververified, so the status stayed on "Pending verification". The state is now always read from disk, and a stalepending-verificationresolves itself once Etherpad is running the target version. Reported by @damianbulira. - Pads — a user joining no longer disconnects someone who is typing (#8387, #8409). The catch-up sent to a newly joined client advanced the revision of every client on the pad. If another client's change was being saved at that moment, its revision check failed and it was disconnected with
badChangeset, which caused reconnect cascades under collaboration load. The catch-up now only goes to the client that joined. Thanks to @Raj85446696, and to @MaBeFHDW for finding the cause. - History mode — the follow (eye) icon no longer overlaps the playback speed control (#8382, #8410). A generic colibris checkbox style also matched the follow toggle, adding padding and a switch that pushed the eye icon under the speed control and left it sitting too high. Those styles are now reset for the toggle. Reported by @meaz, thanks to @Jbansal2.
Thanks to everyone whose privately reported security issues were fixed and published since mid-October. The fixes shipped in 3.3.3 to 3.3.13:
- @barnessomer (GHSA-qq7c-m9pc-7q7v)
- @sun1024 (GHSA-35rj-7vrx-29wq)
- @sonicnew (GHSA-x4mj-5635-3fq9)
- @CyberKareem (GHSA-73h9-c5xp-gfg4, GHSA-wg58-mhwv-35pq, GHSA-6mcx-x5h6-rpw2)
- @meifukun (GHSA-pp5v-mvwg-76mp)
- @gcm-explo1t and @neodymelabs (GHSA-mc8w-wjhw-45x5)
- @MaBeFHDW (GHSA-746x-9w89-7xv6)
- @baeseungwon1010 (GHSA-g9xm-3pqr-wcph)
- Dependency updates, including mongodb 7.8.0, jose 6.2.15 and @tanstack/react-query 5.105.2.
v3.3.13
3.3.13 is a security release. It stops .etherpad imports from setting a pad's ownership, privacy or deletion token (GHSA-qq7c-m9pc-7q7v).
- Import —
.etherpadfiles can no longer change who owns a pad, make it public or plant a deletion token (GHSA-qq7c-m9pc-7q7v). Importing a.etherpadfile into a pad with fewer than 10 revisions wrote everypad:<id>:*record in the file and every field of the pad record. Anyone who could edit a new pad could replace the creator's deletion token with their own, make a private group pad public, or name themselves as the pad's creator. Imports now only take the pad text, revisions and chat. The pad keeps its public status, pad-wide settings come from the file only when the creator imports it, and a file that names a different creator can only be imported by the pad's creator. Reported by @barnessomer.