Update dependency @angular/common to v21 [SECURITY]#12
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Update dependency @angular/common to v21 [SECURITY]#12renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
|
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
719413e to
1989c28
Compare
1989c28 to
2cae99e
Compare
2cae99e to
b7633fb
Compare
b7633fb to
1b1ad7c
Compare
1b1ad7c to
d247c52
Compare
d247c52 to
1a51dd3
Compare
3b1f58e to
4128563
Compare
4128563 to
5767016
Compare
5767016 to
0ffa994
Compare
0ffa994 to
f708db1
Compare
f708db1 to
83f58e4
Compare
83f58e4 to
d33dc02
Compare
d33dc02 to
21b4670
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^15.0.2→^21.0.0GitHub Vulnerability Alerts
CVE-2025-66035
The vulnerability is a Credential Leak by App Logic that leads to the unauthorized disclosure of the Cross-Site Request Forgery (XSRF) token to an attacker-controlled domain.
Angular's HttpClient has a built-in XSRF protection mechanism that works by checking if a request URL starts with a protocol (
http://orhttps://) to determine if it is cross-origin. If the URL starts with protocol-relative URL (//), it is incorrectly treated as a same-origin request, and the XSRF token is automatically added to theX-XSRF-TOKENheader.Impact
The token leakage completely bypasses Angular's built-in CSRF protection, allowing an attacker to capture the user's valid XSRF token. Once the token is obtained, the attacker can perform arbitrary Cross-Site Request Forgery (CSRF) attacks against the victim user's session.
Attack Preconditions
POST) to a protocol-relative URL (e.g.,//attacker.com) that they control.Patches
Workarounds
Developers should avoid using protocol-relative URLs (URLs starting with
//) in HttpClient requests. All backend communication URLs should be hardcoded as relative paths (starting with a single/) or fully qualified, trusted absolute URLs.Release Notes
angular/angular (@angular/common)
v21.2.1Compare Source
core
http
v21.2.0Compare Source
common
compiler
instanceofbinary operatorAstVisitor.visitEmptyExpr()compiler-cli
core
forms
language-server
onDidChangeWatchedFileslanguage-service
router
canMatchparamsIsActiveMatchOptionsAPIs to accept a Partialv21.1.6Compare Source
Breaking Changes
core
Angular now only applies known attributes from HTML in translated ICU content. Unknown attributes are dropped and not rendered.
(cherry picked from commit
306f367)common
compiler-cli
core
v21.1.5Compare Source
No user facing changes in this release
v21.1.4Compare Source
compiler
core
forms
http
v21.1.3Compare Source
core
linkedSignal.updateshould propagate errorsforms
localize
router
v21.1.2Compare Source
forms
language-service
router
v21.1.1Compare Source
compiler-cli
core
forms
v21.1.0Compare Source
Deprecations
upgrade
VERSIONfrom@angular/upgradeis deprecated. Please use the entry from@angular/upgrade/staticinstead.common
compiler
core
StaticProviderforprovidePlatformInitializerforms
platform-browser
contexttocreateApplicationcreateApplicationrouter
upgrade
VERSIONexportv21.0.9Compare Source
forms
migrations
v21.0.8Compare Source
core
v21.0.7Compare Source
compiler
compiler-cli
importsexpressiontypeoftype referencescore
forms
[formField]directivedirtyinputhiddeninputpendinginputrouter
queryParamsHandlingupdateCallbackDonepromisev21.0.6Compare Source
Breaking Changes (affecting only experimental features)
forms
The shape of
SignalFormsConfig.classeshas changedPreviously each function in the
classesmap took aFieldState. Nowit takes a
Fielddirective.For example if you previously had:
You would need to update to:
(cherry picked from commit
348f149)(cherry picked from commit
ae0c590)core
forms
language-service
v21.0.5Compare Source
core
InjectionTokenwith factory onlyforms
v21.0.4Compare Source
compiler
compiler-cli
forms
Fielddirectivev21.0.3Compare Source
compiler-cli
core
[field]binding instructions (#65599)forms
FormUiControlsignals[field]bindings (#65599)http
router
v21.0.2Compare Source
compiler
attributeNameand MathML/SVG URLsv21.0.1Compare Source
compiler-cli
core
platformBrowserDynamicConfiguration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.