Ep etherpad lite: Etherpad has stored XSS in HTML export via unescaped attribute-pool values (CVE-2026-55090)
A stored cross-site scripting (XSS) vulnerability exists in Etherpad Lite versions prior to 3.3.0. The vulnerability arises from improper escaping of attribute-pool values when exporting HTML, allowing malicious attribute values to be injected into exported HTML spans. This can lead to execution of arbitrary scripts when collaborators open the exported HTML. A fix is available that properly escapes these attribute values.
AI Analysis
Technical Summary
The vulnerability (CVE-2026-55090) in Etherpad Lite is due to the function getHTMLFromAtext in src/node/utils/ExportHtml.ts interpolating values from the exportHtmlAdditionalTagsWithData plugin hook into span data attributes without HTML-attribute escaping. Since the attribute values come directly from the pad attribute pool, which can be controlled by a pad editor through crafted changesets, an attacker can inject malicious attribute values such as " onload="alert(1)". When exported, this results in a span tag like <span data-color="" onload="alert(1)">, leading to stored XSS when the exported HTML is viewed by collaborators. The issue is fixed by escaping attribute names and values using Security.escapeHTMLAttribute, as implemented in PR #7905.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of collaborators viewing the exported HTML, potentially leading to session hijacking, data theft, or other malicious actions. The vulnerability affects all collaborators who open the exported HTML containing the malicious payload.
Mitigation Recommendations
An official fix is available that properly escapes attribute values in the HTML export functionality. Users should upgrade Etherpad Lite to version 3.3.0 or later. No additional mitigation is required once the patch is applied.
Ep etherpad lite: Etherpad has stored XSS in HTML export via unescaped attribute-pool values (CVE-2026-55090)
Description
A stored cross-site scripting (XSS) vulnerability exists in Etherpad Lite versions prior to 3.3.0. The vulnerability arises from improper escaping of attribute-pool values when exporting HTML, allowing malicious attribute values to be injected into exported HTML spans. This can lead to execution of arbitrary scripts when collaborators open the exported HTML. A fix is available that properly escapes these attribute values.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability (CVE-2026-55090) in Etherpad Lite is due to the function getHTMLFromAtext in src/node/utils/ExportHtml.ts interpolating values from the exportHtmlAdditionalTagsWithData plugin hook into span data attributes without HTML-attribute escaping. Since the attribute values come directly from the pad attribute pool, which can be controlled by a pad editor through crafted changesets, an attacker can inject malicious attribute values such as " onload="alert(1)". When exported, this results in a span tag like <span data-color="" onload="alert(1)">, leading to stored XSS when the exported HTML is viewed by collaborators. The issue is fixed by escaping attribute names and values using Security.escapeHTMLAttribute, as implemented in PR #7905.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of collaborators viewing the exported HTML, potentially leading to session hijacking, data theft, or other malicious actions. The vulnerability affects all collaborators who open the exported HTML containing the malicious payload.
Mitigation Recommendations
An official fix is available that properly escapes attribute values in the HTML export functionality. Users should upgrade Etherpad Lite to version 3.3.0 or later. No additional mitigation is required once the patch is applied.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-2jp7-wwpg-3p9w
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-55090"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a838c4dbf8831d539b4cc4d
Added to database: 08/17/2026, 22:33:49 UTC
Last enriched: 08/17/2026, 22:41:24 UTC
Last updated: 08/17/2026, 23:40:37 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.