{"id":"GHSA-92hr-gmr6-h8cp","aliases":[],"url":"https://o3.security/vulnerability/GHSA-92hr-gmr6-h8cp","summary":"Etherpad addressed weak token RNG, login timing, plugin path handling, API request handling","details":"Fix: PR #7906 (ether/etherpad). A set of medium/low hardening fixes:\n\n- **Weak RNG for tokens (CWE-330):** author/session/readonly IDs were generated with `Math.random()` (client and server). Now use `crypto.getRandomValues`.\n- **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.timingSafeEqual` plus a uniform failure delay; user lookup is own-property only.\n- **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.\n- **API parameter pollution (CWE-235):** `/api/2` merged all request headers into the API field set. Now forwards only `authorization`, matching the openapi.ts handler.\n- **Pad-creation side effect:** `API.appendChatMessage` could create arbitrary pads (missing `getPadSafe`). Now requires the pad to exist.\n- **Error info disclosure (CWE-209):** the admin file server echoed filesystem error detail; now returns a generic message.","published":"2026-08-17T17:49:21Z","modified":"2026-08-17T18:00:08.803301424Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"ep_etherpad-lite","fixedVersion":"3.3.0"}],"fix":{"url":"https://github.com/ether/etherpad/pull/7906","label":"ether/etherpad#7906"},"references":[{"type":"WEB","url":"https://github.com/ether/etherpad/security/advisories/GHSA-92hr-gmr6-h8cp"},{"type":"WEB","url":"https://github.com/ether/etherpad/pull/7906"},{"type":"WEB","url":"https://github.com/ether/etherpad/commit/7ea99706483443239bbbc0f2df9aff8ab5de4805"},{"type":"PACKAGE","url":"https://github.com/ether/etherpad"},{"type":"WEB","url":"https://github.com/ether/etherpad/releases/tag/3.3.0"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-17T18:00:08.803301424Z"}}