mediumVulnerability

GHSA-92hr-gmr6-h8cp

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 use `crypto.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.timingSafeEqual` plus 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/2` merged all request headers into the API field set. Now forwards only `authorization`, matching the openapi.ts handler. - **Pad-creation side effect:** `API.appendChatMessage` could create arbitrary pads (missing `getPadSafe`). Now requires the pad to exist. - **Error info disclosure (CWE-209):** the admin file server echoed filesystem error detail; now returns a generic message.

Properties

ghsa_id
GHSA-92hr-gmr6-h8cp
severity
medium
summary
Etherpad addressed weak token RNG, login timing, plugin path handling, API request handling
cve_id
GHSA-92hr-gmr6-h8cp
is_ghsa_only
true
ghsa_published
2026-08-17T17:49:21Z
source_url
https://github.com/advisories/GHSA-92hr-gmr6-h8cp
ghsa_updated
2026-08-17T17:49:22Z

Related Entities (8)

VULNERABLE_TO (1)

[Software]npm/ep_etherpad-lite

AFFECTS (1)

[Software]npm/ep_etherpad-lite

HAS_WEAKNESS (5)

[Weakness]Generation of Error Message Containing Sensitive Information
[Weakness]Improper Handling of Extra Parameters
[Weakness]Observable Timing Discrepancy
[Weakness]Use of Insufficiently Random Values
[Weakness]Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

REPORTED_BY (1)

[Source]GitHub Advisory Database

Explore deeper with Ninja Signal's threat intelligence graph

GHSA-92hr-gmr6-h8cp — Ninja Signal Threat Intelligence | Ninja Signal