GHSA-92hr-gmr6-h8cp

Suggest an improvement
Source
https://github.com/advisories/GHSA-92hr-gmr6-h8cp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-92hr-gmr6-h8cp/GHSA-92hr-gmr6-h8cp.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-92hr-gmr6-h8cp
Published
2026-08-17T17:49:21Z
Modified
2026-08-17T18:00:08Z
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:

  • 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.
Database specific
{
    "cwe_ids":  [
        "CWE-208",
        "CWE-209",
        "CWE-22",
        "CWE-235",
        "CWE-330"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-08-17T17:49:21Z",
    "nvd_published_at":  null,
    "severity":  "MODERATE"
}
References

Affected packages

npm / ep_etherpad-lite

Package

Name
ep_etherpad-lite
View open source insights on deps.dev
Purl
pkg:npm/ep_etherpad-lite

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.3.0

Database specific

last_known_affected_version_range
"<= 1.8.14"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-92hr-gmr6-h8cp/GHSA-92hr-gmr6-h8cp.json"