{"id":"CVE-2026-55090","aliases":["CVE-2026-55090","GHSA-2jp7-wwpg-3p9w"],"related":[],"kind":"vulnerability","state":"published","title":"Etherpad: Stored XSS in HTML export via unescaped attribute-pool values","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Fix: PR #7905 (ether/etherpad).\n\n`getHTMLFromAtext` in `src/node/utils/ExportHtml.ts` interpolates values from the `exportHtmlAdditionalTagsWithData` plugin hook into `span data-<k>=\"<v>\"` without HTML-attribute escaping. The value comes verbatim from the pad attribute pool, which a pad editor controls via a crafted changeset (only `author` attributes are validated; `moveOpsToNewPool` -> `AttributePool.putAttrib` stores any value). With a bundled plugin that registers the hook (ep_font_color / ep_font_size), an attribute value such as `\" onload=\"alert(1)` is exported as `<span data-color=\"\" onload=\"alert(1)\">` and served as text/html, yielding stored XSS for any collaborator who opens the export.\n\nFix: escape the name and value via `Security.escapeHTMLAttribute`. PR #7905 also adds a startup warning when default/placeholder account or SSO credentials are configured (defense-in-depth, non-breaking).","format":"markdown","source":"ghsa"}],"published":"2026-08-17T17:49:38.000Z","modified":"2026-09-09T21:15:59.613Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 3.3.0","status":"affected"}],"vendor":"ether","product":"etherpad","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.3.0"}],"ecosystem":"npm","package":"ep_etherpad-lite","purl":"pkg:npm/ep_etherpad-lite","source":"ghsa"}],"references":[{"url":"https://github.com/ether/etherpad/security/advisories/GHSA-2jp7-wwpg-3p9w","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/ether/etherpad/pull/7905","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/ether/etherpad/commit/86c56cf827dd6e5ff1b6cd3760f87adc47f58bb1","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/ether/etherpad/releases/tag/v3.3.0","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ether/etherpad","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/ether/etherpad/releases/tag/3.3.0","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-08-20T12:37:42.746Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-55090","url":"https://www.cve.org/CVERecord?id=CVE-2026-55090","licence":"CVE Terms of Use","modified":"2026-08-20T12:39:30.300Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2jp7-wwpg-3p9w","url":"https://github.com/advisories/GHSA-2jp7-wwpg-3p9w","licence":"CC-BY-4.0","modified":"2026-08-17T18:11:04.673Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-55090","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55090","licence":"Public domain","modified":"2026-09-09T21:15:59.613Z"}],"updatedAt":"2026-11-25T22:59:34.186Z","epss":{"score":0.00547,"percentile":0.39485,"date":"2026-11-30T12:00:22.000Z"}}