Skip to main content

Angular Editor CVE-2025-71464

| EUVDEUVD-2025-211337 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-14 VulnCheck GHSA-r6ff-j3f6-wm7p
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Lure user to the Angular editor
  2. Delivery
    Deliver crafted img onerror HTML to paste
  3. Exploit
    User pastes into source mode and toggles view
  4. Execution
    innerHTML assigns unsanitized markup
  5. Impact
    Event-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.

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

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

Alert me

AnalysisAIv1 – 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

angular-editor 0 <3.0.4

Affected Packages

euvd angular_editor fix: 3.0.4

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

Vendor (VulnCheck) PRIMARY 5.3 MEDIUM
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
vuln.today AI 6.1 MEDIUM

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.

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:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

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

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Low
niche Angular-specific WYSIWYG component library, limited to Angular apps
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.2%
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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
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