Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. ep_etherpad-lite
  4. ›
  5. GHSA-92hr-gmr6-h8cp

GHSA-92hr-gmr6-h8cp: Etherpad addressed weak token RNG, login timing, plugin path handling, API request handling

August 17, 2026

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.

References

  • github.com/advisories/GHSA-92hr-gmr6-h8cp
  • github.com/ether/etherpad/commit/7ea99706483443239bbbc0f2df9aff8ab5de4805
  • github.com/ether/etherpad/pull/7906
  • github.com/ether/etherpad/releases/tag/3.3.0
  • github.com/ether/etherpad/security/advisories/GHSA-92hr-gmr6-h8cp

Code Behaviors & Features

Detect and mitigate GHSA-92hr-gmr6-h8cp with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.3.0

Fixed versions

  • 3.3.0

Solution

Upgrade to version 3.3.0 or above.

Weakness

  • CWE-208: Observable Timing Discrepancy
  • CWE-209: Generation of Error Message Containing Sensitive Information
  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-235: Improper Handling of Extra Parameters
  • CWE-330: Use of Insufficiently Random Values

Source file

npm/ep_etherpad-lite/GHSA-92hr-gmr6-h8cp.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:26 +0000.