XSS in Kolkov Angular-Editor
CVE-2025-71464
@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.
Vulnerability class: XSS (Cross-Site Scripting)
Published .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.002, 10.0th percentile (scored ). About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/kolkov/angular-editor/issues/580 (issue-tracking)
- github.com/kolkov/angular-editor/pull/587 (issue-tracking, patch)
- github.com/kolkov/angular-editor/commit/1b6ee6763ccc93cf0ddd4ab47380166b5efb8f5e (patch)
- github.com/kolkov/angular-editor/blob/a56cc1672e29f058f1b28dba3f532b4040b56439/… (technical-description)
- github.com/kolkov/angular-editor/releases/tag/v3.0.4 (release-notes)
- github.com/kolkov/angular-editor (product)
- www.vulncheck.com/advisories/kolkov-angular-editor-before-3.0.4-xss-via-togglee… (third-party-advisory)