CVE-2025-71464
MEDIUM
NVD
CVSS Score
6.1
Severity
MEDIUM
Published
Nov 14, 2026
Vendor
unknown
Description
@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.
References
- https://github.com/kolkov/angular-editor
- https://github.com/kolkov/angular-editor/blob/a56cc1672e29f058f1b28dba3f532b4040b56439/projects/angular-editor/src/lib/editor/angular-editor.component.ts#L354-L361
- https://github.com/kolkov/angular-editor/commit/1b6ee6763ccc93cf0ddd4ab47380166b5efb8f5e
- https://github.com/kolkov/angular-editor/issues/580
- https://github.com/kolkov/angular-editor/pull/587