CVE-2025-71465 @kolkov/angular-editor before 3.0.3 XSS via refreshView()

Medium 5.3 Published Updated

Attackers can store HTML with event handlers in Angular editor content that executes script in the application origin when users open it.

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-71465?

CVE-2025-71465 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.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.

Weakness: CWE-79

Which versions are affected by CVE-2025-71465?

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.

PackageAffectedFixed in
%40kolkov/angular-editor npm
pkg:npm/%40kolkov/angular-editor
All versions3.0.3

How do I fix CVE-2025-71465?

Upgrade %40kolkov/angular-editor to 3.0.3 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-71465 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-71465 exists.

Sources

Also known as GHSA-hg4v-phgx-rfj7.

Is CVE-2025-71465 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free