fix(deps, frontend): update dependency @angular/core to v21.2.20 - #8494
Open
renovate-bot wants to merge 1 commit into
Open
fix(deps, frontend): update dependency @angular/core to v21.2.20#8494renovate-bot wants to merge 1 commit into
renovate-bot wants to merge 1 commit into
Conversation
Contributor
Backport auto-label reportThis
|
Contributor
Automated Reviewer SuggestionsBased on the
|
|
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:
21.2.19→21.2.20Angular: Sanitization bypass via directive host bindings on concrete host elements in @angular/core and @angular/compiler
CVE-2026-88057 / GHSA-hh8m-fm6v-7cvg
More information
Details
Angular automatically sanitizes untrusted values bound to security-sensitive DOM sinks (such as
href,src,action,xlink:href, anddata) to protect against Cross-Site Scripting (XSS).Prior to the fix, the Angular compiler determined the
SecurityContextfor directive host bindings (host: {'[attr.href]': 'value'}or@HostBinding('attr.href')) based solely on the declaring directive or component selector at compile time, rather than the concrete host element that the directive was applied to.When a directive with a security-sensitive host binding was applied to a different concrete host element—such as through:
hostDirectivescomposition,createComponentwith customhostElementor dynamic directives),<svg:a>,<math>), or:not(...)),the compiler either failed to associate a sanitizer with the host binding or attached an incorrect security context. As a result, untrusted inputs (e.g.
javascript:...URLs) bound via the host binding would be written to the DOM attribute without passing through Angular's built-in sanitizer.Impact
An attacker capable of controlling the value bound to an affected directive host binding could execute arbitrary JavaScript in the user's browser context (Cross-Site Scripting).
Patches
This issue has been resolved in versions:
22.1.021.2.2020.3.28Workarounds
Ensure that any user-controlled values assigned to properties bound via directive host bindings are explicitly sanitized using
DomSanitizer.sanitize(SecurityContext.URL, ...)before assignment, or restrict the input to validated safe URL schemes (e.g.http://,https://).Severity
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Angular: Sanitization bypass via directive host bindings on concrete host elements in @angular/core and @angular/compiler
CVE-2026-88057 / GHSA-hh8m-fm6v-7cvg
More information
Details
Angular automatically sanitizes untrusted values bound to security-sensitive DOM sinks (such as
href,src,action,xlink:href, anddata) to protect against Cross-Site Scripting (XSS).Prior to the fix, the Angular compiler determined the
SecurityContextfor directive host bindings (host: {'[attr.href]': 'value'}or@HostBinding('attr.href')) based solely on the declaring directive or component selector at compile time, rather than the concrete host element that the directive was applied to.When a directive with a security-sensitive host binding was applied to a different concrete host element—such as through:
hostDirectivescomposition,createComponentwith customhostElementor dynamic directives),<svg:a>,<math>), or:not(...)),the compiler either failed to associate a sanitizer with the host binding or attached an incorrect security context. As a result, untrusted inputs (e.g.
javascript:...URLs) bound via the host binding would be written to the DOM attribute without passing through Angular's built-in sanitizer.Impact
An attacker capable of controlling the value bound to an affected directive host binding could execute arbitrary JavaScript in the user's browser context (Cross-Site Scripting).
Patches
This issue has been resolved in versions:
22.1.021.2.2020.3.28Workarounds
Ensure that any user-controlled values assigned to properties bound via directive host bindings are explicitly sanitized using
DomSanitizer.sanitize(SecurityContext.URL, ...)before assignment, or restrict the input to validated safe URL schemes (e.g.http://,https://).Severity
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Release Notes
angular/angular (@angular/core)
v21.2.20Compare Source
core
http
Configuration
📅 Schedule: (in timezone Etc/UTC)
🚦 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.