@angular/compiler-cli is vulnerable to Cross-site Scripting (XSS)
68
Medium Risk
Template type checking against the DOM schema did not consistently reject dangerous event-property bindings such as onclick on plain elements. The schema checker now validates property names through the registry first and surfaces diagnostics instead of letting those bindings compile. That blocks template-level paths that reuse user-influenceable values on on-prefixed DOM properties outside of Angular’s event binding syntax.
You are affected if you are using a version that falls within the vulnerable range.
@angular/compiler-cli is vulnerable to Cross-site Scripting (XSS) in versions 21.0.0 - 21.2.12.
Upgrade the @angular/compiler-cli library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant