Intel

AIKIDO-2026-10829

@angular/core is vulnerable to Cross-site Scripting (XSS)

Cross-site Scripting (XSS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published May 19, 2026

68

Medium Risk

This Affects:

JS@angular/core
21.0.0 - 21.2.12
Fixed in 21.2.13
Are you affected? Scan for Free

TL;DR

The attribute pipeline previously consulted an event-attribute helper only inside development-only branches while still routing values into setElementAttribute for real renders. The runtime path now relies on compile-time and schema enforcement so on*-style attributes are not accepted through the host-attribute instruction path intended for production bundles. Supporting integration tests were updated to match compile-time failure behavior instead of expecting late runtime rejection alone.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@angular/core is vulnerable to Cross-site Scripting (XSS) in versions 21.0.0 - 21.2.12.

How to fix this

Upgrade the @angular/core library to the patch version.