Etherpad
Etherpad: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in etherpad-lite
Etherpad is a real-time collaborative editor. Prior to 3.3.1, result.appendSpan in src/static/js/domline.ts interpolates the start attribute of a numbered list directly into an unquoted ol start attribute before assigning the generated markup to node.innerHTML. ImportEtherpad.setPadRaw in src/node/utils/ImportEtherpad.ts accepts attacker-controlled attribute-pool values from a crafted .etherpad import, including list:number1 and a malicious start value. Any user with write access to a pad can store markup that executes as cross-site scripting when another user opens the pad or /timeslider, including when an administrator views the pad. This issue is fixed in version 3.3.1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 3.3.1
Fixed in 3.3.1
Mitigation
Upgrade etherpad to 3.3.1 or later.
References
- Vendor advisory github.com/ether/etherpad/security/advisories/…
- Patch github.com/ether/etherpad/pull/7937
- Patch github.com/ether/etherpad/commit/d828185efcac9…
1 more
- Release notes github.com/ether/etherpad/releases/tag/v3.3.1
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.