{"id":"GHSA-2jp7-wwpg-3p9w","revision":"a0f43402808b4d5ab4dee06064ccf04c","records":[{"revision":"a0f43402808b4d5ab4dee06064ccf04c","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-2jp7-wwpg-3p9w","aliases":["CVE-2026-55090"],"title":"Etherpad has stored XSS in HTML export via unescaped attribute-pool values","description":"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).","state":0,"publishedAt":"2026-08-17T17:49:38+00:00","modifiedAt":"2026-08-17T18:11:04.67332+00:00","affected":[{"ecosystem":"npm","name":"ep_etherpad-lite","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"3.3.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"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","https://github.com/ether/etherpad/releases/tag/3.3.0"],"sourceUrl":"https://github.com/advisories/GHSA-2jp7-wwpg-3p9w","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-2jp7-wwpg-3p9w","identifiers":["GHSA-2jp7-wwpg-3p9w","CVE-2026-55090"]},"retained":false,"historicalAffected":[]}],"coverage":[]}