Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain write access to target Etherpad pad
-
DeliverySubmit crafted changeset embedding malicious attribute value via ep_font_color or ep_font_size
-
ExploitValue stored verbatim in pad attribute pool
-
ExecutionVictim generates and opens HTML export
-
PersistExported span element contains unescaped event handler
-
ImpactInjected 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 |
| 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 |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (https://github.com/ether/etherpad).
CVSS VectorVendor: https://github.com/ether/etherpad
Lifecycle Timeline
2DescriptionCVE.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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-62734
GHSA-2jp7-wwpg-3p9w
NVD
CVE.org
EPSS
VulDB
Exploit-DB