Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure user to the Angular editor
-
DeliveryDeliver crafted img onerror HTML to paste
-
ExploitUser pastes into source mode and toggles view
-
ExecutioninnerHTML assigns unsanitized markup
-
ImpactEvent-handler script executes in app origin
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 | Exploitation requires the application to use @kolkov/angular-editor before 3.0.4 AND a user to manually paste HTML containing event handlers (e.g. 'img onerror') into the editor's source/text mode and then toggle back to the rendered view, which triggers the unsanitized innerHTML assignment in toggleEditorMode(). The fix diff shows sanitization is gated on config.sanitize not being false, implying deployments that explicitly set sanitize:false remain exposed even after patching the raw assignment. Key limiting factors: it demands victim user interaction (paste + toggle, reflected in UI:P), so it cannot be triggered remotely without luring the user; impact is scoped XSS in the app origin rather than direct privileged compromise; and only versions below 3.0.4 are affected. |
| Impact | This is a medium-severity, interaction-dependent DOM XSS (CWE-79) in the @kolkov/angular-editor Angular WYSIWYG component. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N, score 5.3) shows network reach and no privileges, but it hinges on UI:P (passive user interaction) - the victim must themselves paste attacker-controlled HTML into the editor's source mode and then toggle views, which is closer to a social-engineering / self-XSS pattern than drive-by exploitation. No EPSS score, KEV listing, or confirmed working exploit code is present in the input, and the vuln.today decision label is 'this_month' (not act_now/emergency), so all decision signals point to routine, scheduled remediation rather than urgent response. The partial C/I/A impacts (script execution in the app origin, not full account takeover by itself) are consistent with a scoped XSS. Overall this is a legitimate but moderate-priority issue: real because a patch exists and the mechanism is confirmed by the vendor PR diff, but not a high-urgency, widely-weaponizable flaw - the required user action to paste and toggle meaningfully limits mass exploitation. |
| Exploit ScenarioDerived | An attacker socially engineers a user of an application built on @kolkov/angular-editor into copying attacker-supplied markup (for example '<img src=x onerror=...>') and pasting it into the editor's raw source mode. When the user toggles from source view back to the rendered/preview view, toggleEditorMode() assigns the text to innerHTML without DomSanitizer sanitization, executing the embedded event-handler script in the application's origin. No public working exploit code is identified in the provided data, though the vendor GitHub issue (#580) documents the behavior. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 14, 2026
Interaction-dependent DOM cross-site scripting in @kolkov/angular-editor before 3.0.4 lets an attacker execute script in the hosting application's origin by convincing a user to paste HTML containing event handlers (for example an img onerror payload) into the editor's source/text mode and then toggling back to the rendered view. The flaw sits in toggleEditorMode(), which copies the source-view text into innerHTML through Renderer2 setProperty without passing it through DomSanitizer.sanitize(). Only versions below 3.0.4 are affected, and the vendor fix ships in 3.0.4; no confirmed active exploitation (CISA KEV) and no verified working public exploit code were identified at time of analysis, and the requirement for victim paste-and-toggle interaction limits remote exploitation, with impact confined to script execution in the application origin (assessed CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).
RemediationAI
Vendor-released patch: 3.0.4 (release https://github.com/kolkov/angular-editor/releases/tag/v3.0.4, fix commit https://github.com/kolkov/angular-editor/commit/1b6ee6763ccc93cf0ddd4ab47380166b5efb8f5e, PR https://github.com/kolkov/angular-editor/pull/587). Upgrade @kolkov/angular-editor to 3.0.4 or later, and because the fix only sanitizes when this.config.sanitize is not false, verify that no configuration in the application sets sanitize: false - leaving it false keeps the unsanitized innerHTML assignment path and the vulnerability reachable despite the upgrade, so any deliberate opt-out must be removed or the paste-into-source workflow blocked at the application level until the editor configuration is corrected. Tracking references are the upstream issue https://github.com/kolkov/angular-editor/issues/580 and the VulnCheck advisory https://www.vulncheck.com/advisories/kolkov-angular-editor-before-3.0.4-xss-via-toggleeditormode; remediation priority per the vuln.today decision label is this_month rather than emergency.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
@kolkov/angular-editor is an Angular WYSIWYG editor component; toggleEditorMode() switches the editable element between the rendered HTML view and a plain-text source view. Before 3.0.4, when toggling, the component took the source text and assigned it to the element with Renderer2.setProperty(editableElement, 'innerHTML', ...) without invoking DomSanitizer under SecurityContext.HTML, so markup pasted into source mode was re-parsed as live HTML in the application's origin. This is the classic CWE-79 / DOM XSS pattern: the sink is innerHTML and the source is user-supplied paste content. The upstream fix in PR #587 wraps both directions of the toggle with this.sanitizer.sanitize(SecurityContext.HTML, ...) and, notably, gates that sanitization on this.config.sanitize !== false, which means applications that explicitly configure sanitize: false remain exposed to the same sink even after upgrading. The CPE cpe:2.3:a:kolkov:angular-editor:*:*:*:*:*:*:*:* and the EUVD range (angular-editor 0 to <3.0.4) confirm the whole pre-3.0.4 line is in scope; the supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P) is consistent with the assessed 3.1 vector in requiring user interaction rather than credentials.
Know when Angular Editor gets its next vulnerability
- 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:L/VI:L/VA:N/SC:L/SI:L/SA:N
Network-reachable XSS needing no privileges but mandatory user paste-and-toggle (UI:R); script runs in the app origin crossing the DOM security boundary (S:C) with partial C/I and no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
@kolkov/angular-editor before 3.0.4 contains a cross-site scripting vulnerability in toggleEditorMode() that assigns source view text to innerHTML without DomSanitizer sanitization. Attackers can induce users to paste HTML with event handlers such as img onerror into source mode, executing script in the application's origin when toggling views.
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-2025-211337
GHSA-r6ff-j3f6-wm7p
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB