Etherpad Lite - Package updates
-
[4.10.7]
- Update etherpad-lite to 3.3.8
- Full Changelog
- 3.3.8 is a security release. It closes an HTTP API privilege escalation for instances using the built-in OIDC provider with API clients (GHSA-38vj-95q4-gwvx).
- HTTP API client_credentials tokens are identified by a signed grant marker (GHSA-38vj-95q4-gwvx). The API decided whether a bearer JWT came from the OAuth2
client_credentialsgrant by checking whether itssubclaim equalled a configuredclient_id, andclient_credentialstokens skip theadmin === trueclaim check. A non-admin user whose account name collided with a configured client ID could therefore use an ordinary login token to get admin access to the HTTP API. This is a variant of GHSA-qfmh-fph3-mw8q. The provider now signs anetherpad_grant: "client_credentials"marker into client_credentials access tokens, andextraParamscannot override it. The API trusts that marker instead of comparingsubto client IDs. Upgrade note: client_credentials tokens issued before the upgrade don't carry the marker and are refused with 401 until they are re-issued. These tokens are short-lived. Reported by Yves Soete of Blacksight LLC (@yssoe). - OIDC numeric and boolean admin passwords work again (#8263, #8327). The settings loader coerces environment-variable values, so
ADMIN_PASSWORD=123456(for example viasettings.json.docker) arrives as the number123456. The 3.3.6 login check (GHSA-62cj-9j72-mfrh) only accepted string passwords, so these admins could no longer log in. Finite numbers and booleans are now compared as strings. Missing, empty, NaN and non-scalar values are still refused. - Settings dropdowns open under
prefers-reduced-motion(#8290, #8328). With reduced motion enabled, the settings popup kepttransform: scale(1). That made the popup the containing block for the dropdown list, so the font and language lists rendered out of view. The popup now usestransform: none. Thanks to @kfogel.
-
[4.10.8]
- Update etherpad-lite to 3.3.9
- Full Changelog
- Plugins dependency names are validated on uninstall as well as install (GHSA-g9xm-3pqr-wcph). GHSA-92hr-gmr6-h8cp made the plugin installer validate dependency names on install, but the uninstall path still passed the raw
package.jsondependency key tormSync/unlinkSync. A plugin declaring a dependency named likezzz/../../..could therefore delete a directory outside the plugin folder when an admin uninstalled it. Every install and uninstall path now resolves dependency paths through one helper that refuses names that escape the plugin directory. Exploiting it needs an admin to install and then uninstall the malicious plugin. Reported by @baeseungwon1010. - Pad retention delete pads nobody has edited for N days (#8340). A new
padRetentionsetting replaces the unmaintainedep_delete_after_delayplugin without its HTML archive copies or tombstone pads. It is off by default and, once enabled, only logswould delete pad <id>untildryRunis set tofalse. A periodic sweep reads each pad's last-edit time straight from the database without loading pads into the cache, and an overdue pad is also deleted when someone opens it instead of showing stale content. Deletion uses the same path as thedeletePadAPI. Options:deleteAfterDays,warnBeforeDays,sweepIntervalHours,excludeGroupPadsandexcludePattern. - Settings hide the deletion-token modal without widening deletion rights (#7996, #8319). The new
suppressPadDeletionTokenModalsetting (SUPPRESS_PAD_DELETION_TOKEN_MODALin the container image) stops the one-time "Save your pad deletion token" modal from appearing. Until now the only way to hide it wasallowPadDeletionByAllUsers: true, which also let any editor delete the pad. The token is still issued and still works, and non-creators still can't delete. Thanks to @sirsqm. - Performance fonts are no longer inlined into the minified CSS (#8268, #8314). The pad stylesheet embedded every editor and icon font as base64, so
pad.csswas about 1.7 MB and every visitor downloaded all of it before the pad rendered. Fonts are now fetched separately and only when used, andpad.cssis about 61 KB. Thanks to @sirsqm. - Toolbar a popup opened from the toolbar keeps focus (#8345). The editor grabbed focus back after every toolbar command, so in current Firefox Escape didn't close the settings or users popup and typing a name didn't reach the name field.
- Colibris dark mode colours apply everywhere (#8271). The light
--text-colorand--bg-colorvalues could override the dark ones on elements outside the editor, such as the history banner. Thanks to @bobmullut. - Session transfer failed requests are reported as failures (#8172, #8273). Errors from the session transfer endpoint were treated as success. They now show a localized error, and a retry clears it. Thanks to @toashu123.
- Share dialog "Read only" is now "Use read-only link" (#8181, #8326). The checkbox switches which link and embed code you copy; it never locked the pad. The new label and an accessible description say so. Thanks to @jum-apzn.
- Localisation updates from translatewiki.net.
- Dependency updates, including express 5.3.0, ejs 7.0.1, nodemailer 10.1.1, surrealdb 2.1.1, mssql 12.7.9 and ueberdb2 6.1.18.
-
[4.11.0]
- Update node-base | final to 24-20261021
- security: fix eMudhra cert compromise
-
[4.11.1]
- Update etherpad-lite to 3.3.10
- Full Changelog
-
[4.11.2]
- Update etherpad-lite to 3.3.11
- Full Changelog
- Pads clients without an author token no longer share one author (GHSA-746x-9w89-7xv6). Since the author token moved to an HttpOnly cookie, a pad connection that carried neither the cookie nor a legacy token resolved its token to
null, and every such client was mapped to the sametoken2author:nullauthor. Unrelated users (for example behind cookie blockers or in cross-site embeds) then appeared as one author and kicked each other off, and any of them counted as the creator of a pad another one had created, so they could delete it or change its pad-wide settings. A connection without a token now gets a fresh one for that session, and the access check does the same for HTTP callers such as import. Reported by @MaBeFHDW.
-
[4.11.3]
- Update etherpad-lite to 3.3.12
- Full Changelog
- Timeslider "Return to pad" no longer follows a cross-origin referrer (GHSA-35rj-7vrx-29wq). The button navigated to
document.referrerwhenever the character before its last/wasp, so a link fromhttps://attacker/p/loginto/p/<pad>/timeslider?embed=1sent the user back to the attacker's site when they clicked it. The referrer is now only followed when it is a pad page on the same origin; otherwise the button returns to the pad. Reported by @sun1024. - Export revision-bound
.etherpadexports only include chat up to that revision. Exporting/p/<pad>/<rev>/export/etherpadshipped the pad's entire chat history, including messages posted after that revision. Reported by @temantih.
-
[4.11.4]
- Update etherpad-lite to 3.3.13
- Full Changelog
- 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.
-
[4.11.5]
- Update etherpad-lite to 3.3.15
- Full Changelog
-
[4.11.6]
- Update etherpad-lite to 3.3.16
- Full Changelog
- 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). - Dependency updates, including undici 8.12.4, mssql 12.7.14, entities 9.0.0, surrealdb 2.2.2 and resolve 1.22.14.
-
[4.11.7]
- Update etherpad-lite to 3.3.17
- Full Changelog
- 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
.etherpadimports 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.
-
[4.11.8]
- Update etherpad-lite to 3.3.19
- Full Changelog
- 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.
- 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.
-
[4.11.9]
- Update etherpad-lite to 3.3.21
- Full Changelog
- Collaboration pad socket.io connections only use the visitor's cookies when they come from Etherpad's own pages (#8514).
- 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". - 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.
-
[4.11.10]
- Update etherpad-lite to 3.3.22
- Full Changelog
- Diagnostics the client error-reporting endpoints now bound what they accept (#8524).
- Updater the state file is written without following symlinks (#8525).
- OIDC and admin stricter request checks (#8526).
- Admin the admin UI can only be framed by Etherpad's own origin (#8527).
- Static files stricter path checks on Windows (#8534).
- 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).
- Plugins uninstalling a plugin no longer breaks core's dependency links (#8533, #8532).
- Admin the plugin catalog ignores implausible compatibility verdicts (#8530).
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login