CVE-2025-71464 @kolkov/angular-editor before 3.0.4 XSS via toggleEditorMode()
Attackers can trick users into pasting HTML that runs script in the app origin when toggling editor modes in angular-editor.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Harmful if only installed
- No
- Needs a specific call
- No
- Fix
- None listed
What is CVE-2025-71464?
CVE-2025-71464 is a medium-severity cross-site scripting vulnerability in kolkov angular-editor, published on 14 Nov 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2025-71464?
1 open source package ship an affected version, including %40kolkov/angular-editor.
An affected version is exposed as installed. No special setting or call is needed.
| Package | Affected | Fixed in |
|---|---|---|
%40kolkov/angular-editor npmpkg:npm/%40kolkov/angular-editor | All versions | 3.0.4 |
How do I fix CVE-2025-71464?
Upgrade %40kolkov/angular-editor to 3.0.4 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-71464 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-71464 exists.
Sources
Also known as GHSA-r6ff-j3f6-wm7p.