angular-editor XSS in editor view refresh
kolkov angular-editor
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| kolkov angular-editor |
|
|
Original description
@kolkov/angular-editor before 3.0.3 contains a cross-site scripting vulnerability in refreshView() that writes HTML from ngModel or reactive form controls to innerHTML without DomSanitizer, bypassing the default sanitize option. Attackers can store HTML with event-handler attributes in content later loaded into the editor to execute script in the application's origin for users opening it.
From the CVE record · VulnCheck
References
- github.com/kolkov/angular-editor/issues/580Exploit
- github.com/kolkov/angular-editor/commit/774a97d0b30e257a07c5d426548c9b900c8a8975Patch
- github.com/kolkov/angular-editor/blob/a74a9b1900a0ecbfefbb701d7c272171101ff454/projects/angular-editor/src/lib/editor/angular-editor.component.ts#L276-L278
- github.com/kolkov/angular-editor/releases/tag/v3.0.3
- github.com/kolkov/angular-editor
- vulncheck.com/advisories/kolkov-angular-editor-before-3.0.3-xss-via-refreshview
- github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71465.json
- nvd.nist.gov/vuln/detail/CVE-2025-71465