Description (CNA)
Etherpad is a real-time collaborative editor. Prior to 3.3.0, getHTMLFromAtext in src/node/utils/ExportHtml.ts interpolates values from the exportHtmlAdditionalTagsWithData plugin hook into span data attributes without HTML attribute escaping. A pad editor can place an attacker-controlled value into the attribute pool through moveOpsToNewPool and AttributePool.putAttrib. When a bundled plugin such as ep_font_color or ep_font_size registers the hook, opening the resulting HTML export causes the value to execute as stored cross-site scripting in the Etherpad origin. This issue is fixed in version 3.3.0.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| ether / etherpad | affected < 3.3.0 |
CWE
CWE-79
References
- https://github.com/ether/etherpad/security/advisories/GHSA-2jp7-wwpg-3p9w
- https://github.com/ether/etherpad/pull/7905
- https://github.com/ether/etherpad/commit/86c56cf827dd6e5ff1b6cd3760f87adc47f58bb1
- https://github.com/ether/etherpad/releases/tag/v3.3.0
ADP enrichment
No English description supplied.
No references supplied.