{"id":"GHSA-92hr-gmr6-h8cp","revision":"17f241b6893a4920b557396381af8fd7","records":[{"revision":"17f241b6893a4920b557396381af8fd7","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-92hr-gmr6-h8cp","aliases":[],"title":"Etherpad addressed weak token RNG, login timing, plugin path handling, API request handling","description":"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.","state":0,"publishedAt":"2026-08-17T17:49:21+00:00","modifiedAt":"2026-08-17T18:00:08.8033014+00:00","affected":[{"ecosystem":"npm","name":"ep_etherpad-lite","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"3.3.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/ether/etherpad/security/advisories/GHSA-92hr-gmr6-h8cp","https://github.com/ether/etherpad/pull/7906","https://github.com/ether/etherpad/commit/7ea99706483443239bbbc0f2df9aff8ab5de4805","https://github.com/ether/etherpad","https://github.com/ether/etherpad/releases/tag/3.3.0"],"sourceUrl":"https://github.com/advisories/GHSA-92hr-gmr6-h8cp","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-92hr-gmr6-h8cp","identifiers":["GHSA-92hr-gmr6-h8cp"]},"retained":false,"historicalAffected":[]}],"coverage":[]}