GHSA-92hr-gmr6-h8cp
MEDIUMEtherpad addressed weak token RNG, login timing, plugin path handling, API request handling
Fix: PR #7906 (ether/etherpad). A set of medium/low hardening fixes:
- Weak RNG for tokens (CWE-330): author/session/readonly IDs were generated with
Math.random()(client and server). Now usecrypto.getRandomValues. - Login timing / no failure delay (CWE-208/CWE-307): the OIDC interaction login used a non-constant-time password compare with no failure delay. Now uses
crypto.timingSafeEqualplus a uniform failure delay; user lookup is own-property only. - Plugin dependency path handling (CWE-22): plugin dependency names from package.json were used to build filesystem paths without validation (admin-gated install). Now validated against the npm name grammar.
- API parameter pollution (CWE-235):
/api/2merged all request headers into the API field set. Now forwards onlyauthorization, matching the openapi.ts handler. - Pad-creation side effect:
API.appendChatMessagecould create arbitrary pads (missinggetPadSafe). Now requires the pad to exist. - Error info disclosure (CWE-209): the admin file server echoed filesystem error detail; now returns a generic message.
- Published
- 17 Aug 2026
- Last modified
- 17 Aug 2026
- Weakness
- CWE-208CWE-209CWE-22CWE-235CWE-330
- Sources
- OSVJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | ep_etherpad-lite | < 3.3.0 | 3.3.0 |
References
- https://github.com/ether/etherpad/security/advisories/GHSA-92hr-gmr6-h8cp · WEB
- https://github.com/ether/etherpad/pull/7906 · WEB
- https://github.com/ether/etherpad/commit/7ea99706483443239bbbc0f2df9aff8ab5de4805 · WEB
- https://github.com/ether/etherpad · PACKAGE
- https://github.com/ether/etherpad/releases/tag/3.3.0 · WEB
History
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 17 Aug 2026)