GHSA-hg4v-phgx-rfj7MediumCVSS 6.1
@kolkov/angular-editor before 3.0.3 contains a cross-site scripting vulnerability in refreshView(...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (8)
- https://nvd.nist.gov/vuln/detail/CVE-2025-71465
- https://github.com/kolkov/angular-editor/issues/580
- https://github.com/kolkov/angular-editor/commit/774a97d0b30e257a07c5d426548c9b900c8a8975
- https://github.com/kolkov/angular-editor
- https://github.com/kolkov/angular-editor/blob/a74a9b1900a0ecbfefbb701d7c272171101ff454/projects/angular-editor/src/lib/editor/angular-editor.component.ts#L276-L278
- https://github.com/kolkov/angular-editor/releases/tag/v3.0.3
- https://www.vulncheck.com/advisories/kolkov-angular-editor-before-3.0.3-xss-via-refreshview
- https://github.com/advisories/GHSA-hg4v-phgx-rfj7