CVE-2021-43802
Etherpad is a real-time collaborative editor. In versions prior to 1.8.16, an attacker can craft an `*.etherpad` file that, when imported, might allow the attacker to gain admin privileges for the Etherpad instance. This, in turn, can be used to install a malicious Etherpad plugin that can execute arbitrary code (including system commands). To gain privileges, the attacker must be able to trigger deletion of `express-session` state or wait for old `express-session` state to be cleaned up. Core Etherpad does not delete any `express-session` state, so the only known attacks require either a plugin that can delete session state or a custom cleanup process (such as a cron job that deletes old `sessionstorage:*` records). The problem has been fixed in version 1.8.16. If users cannot upgrade to 1.8.16 or install patches manually, several workarounds are available. Users may configure their reverse proxies to reject requests to `/p/*/import`, which will block all imports, not just `*.etherpad` imports; limit all users to read-only access; and/or prevent the reuse of `express_sid` cookie values that refer to deleted express-session state. More detailed information and general mitigation strategies may be found in the GitHub Security Advisory.
Scoring
- Severity
- CRITICAL
- CVSS base score
- 9.9
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- EPSS probability
- 0.55%
- CWE
- CWE-790, CWE-1287
- Published
- 2021-12-09
- Last modified
- 2026-03-13
Affected products
- ether etherpad-lite
Weakness type
Related vulnerabilities
- CVE-2023-22578 — Sequalize - Default support for “raw attributes” when using parentheses
- CVE-2026-2328 — Backend Access Due to Insufficient Input Validation
- CVE-2025-27260 — Ericsson Indoor Connect 8855 - Improper Filtering of Special Elements Vulnerability
- CVE-2024-42416 — Multiple issues in ctl(4) CAM Target Layer
- CVE-2026-11331 — Potential wildcard CNAME RPZ policy bypass
- CVE-2025-15576 — Jail chroot escape via fd exchange with a different jail
- CVE-2026-9658 — Plack::Middleware::Security::Common versions before 0.13.1 for Perl did not block header injections in request paths
- CVE-2025-0431 — Enterprise Protection Backslash URL Rewrite Bypass