CVE-2025-71464

@kolkov/angular-editor before 3.0.4 XSS via toggleEditorMode()

Published Nov 14, 2026 CVSS 4.0 · 5.3 Medium EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability allows a cross‑site scripting flaw by assigning user‑supplied source view content to a component’s innerHTML without using DomSanitizer. Attackers can craft HTML that includes event attributes such as img onerror, which triggers JavaScript execution in the context of the application when the editor view is toggled.

Affected Systems

Products affected are kolkov:angular-editor prior to version 3.0.4. Any deployment of the Angular Editor library before that release is vulnerable; no additional vendor or product names are listed.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity. Exploitation requires a user to paste malicious HTML into the editor’s source view and then trigger a view toggle. The EPSS score is not available, and the issue is not listed in CISA’s KEV catalog, suggesting low to moderate likelihood of widespread exploitation but still requires attention, especially in applications exposed to untrusted input.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Angular Editor to version 3.0.4 or later.
  • If an upgrade is not possible, sanitize the source view content before assigning it to innerHTML, for example by using Angular’s DomSanitizer or a third‑party sanitizer to strip event attributes and script tags.
  • If neither upgrade nor sanitization is feasible, restrict or disable the toggleEditorMode() function in the application, and consider applying a content‑security‑policy to block inline script execution.

Generated by OpenCVE AI on November 14, 2026 at 19:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title @kolkov/angular-editor before 3.0.4 XSS via toggleEditorMode()
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.3, 'vector': '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'}

Subscriptions

No data.

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 14, 2026, 12:32 PM
Reserved
Nov 14, 2026, 12:15 PM
Status
Received
Published
Nov 14, 2026, 1:17 PM
Modified
Nov 14, 2026, 1:17 PM