@angular/core
22.2.6 · 12 Nov 2026MIT8.5M / weekRepositoryHomepagenpmAtom feed
Your version
20.3.35 is the newest release of 20.x.
Security
Fixes 2 advisories that affected 20.3.21
- ModerateAngular: Template and Attribute Namespace Sanitization Bypass (XSS)GHSA-f3m7-gqxr-g87x · 15 Jun 2026Fixed in 20.3.22
- Moderate@angular/core: Angular Template and Dynamic Component Namespace Bypass leading to Cross-Site Scripting (XSS)GHSA-692r-grfm-v8x7 · 15 Jun 2026Fixed in 20.3.22
3 advisories affect 20.3.22; 20.3.28 fixes them
- HighAngular i18n: Cross-Site Scripting (XSS) via event-handler attributesGHSA-jj27-h5hq-8x99 · 3 Aug 2026Fixed in 20.3.27
- HighAngular Client Hydration DOM Clobbering & Response-Cache PoisoningGHSA-rgjc-h3x7-9mwg · 15 Jun 2026Fixed in 20.3.25
- ModerateAngular: Sanitization bypass via directive host bindings on concrete host elements in @angular/core and @angular/compilerGHSA-hh8m-fm6v-7cvg · 10 Sep 2026Fixed in 20.3.28
Release note
The section about @angular/core of a note shared by several packages.
core
| Commit | Description |
|---|---|
| fix - e345a58069 | normalize tag names in runtime i18n attribute security context lookup (#68926) |
| fix - d86e4e7b2a | reject script element as a dynamic component host (#68926) |
| fix - af04936045 | sanitize meta selectors |
| fix - dc631efa96 | support prefix-insensitive DOM schema lookups and compile-time i18n attribute validation (#68926) |
| fix - 909ef047b3 | synchronize core sanitization schema with compiler (#68926) |
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.