# CVE-2025-71464: @kolkov/angular-editor before 3.0.4 XSS via toggleEditorMode()

- Severity: Medium 5.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-14T12:32:57.503Z
- Modified: 2026-11-16T19:17:23.020Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- kolkov angular-editor: before 3.0.4 (not affected: 3.0.4)

## Every score

- VulnCheck: CVSS:4.0 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`
- VulnCheck: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/kolkov/angular-editor/issues/580> (exploit, issue-tracking)
- <https://github.com/kolkov/angular-editor/pull/587> (issue-tracking, patch)
- <https://github.com/kolkov/angular-editor/commit/1b6ee6763ccc93cf0ddd4ab47380166b5efb8f5e> (patch)
- <https://github.com/kolkov/angular-editor/blob/a56cc1672e29f058f1b28dba3f532b4040b56439/projects/angular-editor/src/lib/editor/angular-editor.component.ts#L354-L361> (technical-description)
- <https://github.com/kolkov/angular-editor/releases/tag/v3.0.4> (release-notes)
- <https://github.com/kolkov/angular-editor> (product)
- <https://www.vulncheck.com/advisories/kolkov-angular-editor-before-3.0.4-xss-via-toggleeditormode> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-71464](https://www.cve.org/CVERecord?id=CVE-2025-71464), CVE Terms of Use, modified 2026-11-16
- NVD: [CVE-2025-71464](https://nvd.nist.gov/vuln/detail/CVE-2025-71464), Public domain, modified 2026-11-16

---

Page: https://cve.day/CVE-2025-71464 · Whole record: https://cve.day/CVE-2025-71464.json · Rebuilt by cve.day 2026-11-25T22:59:12.579Z
