Vulnerabilities/

ep_etherpad-lite: Import/export uses Math.random() for temp file paths; predictable paths on shared /tmp enable symlink-

Severity:
Medium

Description

src/node/handler/ImportHandler.ts and src/node/handler/ExportHandler.ts both compute their temporary working-file paths as:

Two flaws compound:

  1. Math.random() is not crypto-secure. It yields at most ~32 bits of entropy and is predictable across calls within the same Node process (V8 shares PRNG state between consecutive Math.random() invocations).

Recommendation

Update the ep_etherpad-lite package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
ep_etherpad-lite
Anything's wrong? Let us know Last updated on August 13, 2026