Advisory

GHSA-2jp7-wwpg-3p9w

Also known as: CVE-2026-55090

Summary

Etherpad has stored XSS in HTML export via unescaped attribute-pool values

Details

Fix: PR #7905 (ether/etherpad).

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.

Fix: 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).

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-08-17 17:49 UTC
Modified
2026-08-17 18:11 UTC

Affected packages and fixes

ep_etherpad-lite

npm · All systems

Affected

  • introduced 0, fixed 3.3.0 (semver)

Fixed versions

3.3.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences