René's URL Explorer Experiment


Title: fix(core): sanitize host bindings on concrete hosts by SkyZeroZx · Pull Request #69558 · angular/angular · GitHub

Open Graph Title: fix(core): sanitize host bindings on concrete hosts by SkyZeroZx · Pull Request #69558 · angular/angular

X Title: fix(core): sanitize host bindings on concrete hosts by SkyZeroZx · Pull Request #69558 · angular/angular

Description: Host binding sanitization previously used the declaring directive or component selector to choose a compile-time security context. The same host binding can execute on a different concrete element through hostDirectives, inherited host bindings, dynamic directives, or createComponent hostElement usage. Compute host binding security contexts against possible concrete hosts and defer URL versus ResourceURL selection to runtime when necessary. Resolve dynamic root host TNodes to their native tag before sanitizer and security-sensitive attribute checks. Fixes #69550 More context https://issuetracker.google.com/u/1/issues/513926480

Open Graph Description: Host binding sanitization previously used the declaring directive or component selector to choose a compile-time security context. The same host binding can execute on a different concrete element ...

X Description: Host binding sanitization previously used the declaring directive or component selector to choose a compile-time security context. The same host binding can execute on a different concrete element ...

Opengraph URL: https://github.com/angular/angular/pull/69558

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:727390a6-d854-d39c-b4ef-5f03ed498789
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD370:C4871:7D4A8B:ACC058:6AFDF103
html-safe-nonce9475ba7222017c895b022416c7df17338017cc082fd39a63844e7974a0ed0933
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzcwOkM0ODcxOjdENEE4QjpBQ0MwNTg6NkFGREYxMDMiLCJ2aXNpdG9yX2lkIjoiNDI3OTQxNjEyNzQ1NDMxMDY1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc3865d8d00efd1651fd87a086947db1258569a374b75117fcf10597382df6fb6
hovercard-subject-tagpull_request:3953187278
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/angular/angular/pull/69558/files
twitter:imagehttps://avatars.githubusercontent.com/u/73321943?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/73321943?s=400&v=4
og:image:altHost binding sanitization previously used the declaring directive or component selector to choose a compile-time security context. The same host binding can execute on a different concrete element ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonedd812ec581ecac95855f5ec917ef9827506c39a9da1443f43ddb4179a46471eb
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/angular/angular git https://github.com/angular/angular.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id24195339
octolytics-dimension-repository_nwoangular/angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24195339
octolytics-dimension-repository_network_root_nwoangular/angular
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release32ac708bac264dafdc28e10ff49b4d137f0c34a7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/angular/angular/pull/69558/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fpull%2F69558%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fpull%2F69558%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=angular%2Fangular
Reloadhttps://github.com/angular/angular/pull/69558/files
Reloadhttps://github.com/angular/angular/pull/69558/files
Reloadhttps://github.com/angular/angular/pull/69558/files
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues833 (833)https://github.com/angular/angular/issues
Pull requests122 (122)https://github.com/angular/angular/pulls
Discussionshttps://github.com/angular/angular/discussions
Actionshttps://github.com/angular/angular/actions
Projectshttps://github.com/angular/angular/projects
Security and quality40 (40)https://github.com/angular/angular/security
Insightshttps://github.com/angular/angular/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fangular%2Fangular%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fangular%2Fangular%2Fissues%2Fnew%2Fchoose
SkyZeroZxhttps://github.com/SkyZeroZx
angular:mainhttps://github.com/angular/angular/tree/main
SkyZeroZx:fix-host-binding-sanitizationhttps://github.com/SkyZeroZx/angular/tree/fix-host-binding-sanitization
Conversation 45 https://github.com/angular/angular/pull/69558
Commits 7 https://github.com/angular/angular/pull/69558/commits
Checks 19 https://github.com/angular/angular/pull/69558/checks
Files changed https://github.com/angular/angular/pull/69558/files
Please reload this pagehttps://github.com/angular/angular/pull/69558/files
fix(core): sanitize host bindings on concrete hosts https://github.com/angular/angular/pull/69558/files#top
Show all changes 7 commits https://github.com/angular/angular/pull/69558/files
6caa298 fix(core): sanitize host bindings on concrete hosts SkyZeroZx Jun 30, 2026 https://github.com/angular/angular/pull/69558/commits/6caa298dee58319b2d674dc91364e26ffe3ecb2b
fef7173 fix(core): account for namespaces in host binding sanitization SkyZeroZx Jul 1, 2026 https://github.com/angular/angular/pull/69558/commits/fef7173f16f917c673783b1ba75c31af03b791af
35f895f fixup! fix(core): account for namespaces in host binding sanitization SkyZeroZx Jul 1, 2026 https://github.com/angular/angular/pull/69558/commits/35f895f9ba6ef68c586f4b8fc7e474632f0eb6d4
3c721ba fixup! fix(core): account for namespaces in host binding sanitization alan-agius4 Jul 2, 2026 https://github.com/angular/angular/pull/69558/commits/3c721ba8530825f7b89c56c4582317eddcc5f237
c611237 fixup! fix(core): account for namespaces in host binding sanitization alan-agius4 Jul 2, 2026 https://github.com/angular/angular/pull/69558/commits/c6112379bcf92b8df96e2aa12a3b11d4ba447402
c1b7f72 fixup! fix(core): account for namespaces in host binding sanitization SkyZeroZx Jul 9, 2026 https://github.com/angular/angular/pull/69558/commits/c1b7f72d6cab514232fb6146165287437443d031
777c258 fixup! fix(core): account for namespaces in host binding sanitization SkyZeroZx Jul 28, 2026 https://github.com/angular/angular/pull/69558/commits/777c258493c1e4599bcfe28e47296b860a8bb02c
Clear filters https://github.com/angular/angular/pull/69558/files
Please reload this pagehttps://github.com/angular/angular/pull/69558/files
Please reload this pagehttps://github.com/angular/angular/pull/69558/files
GOLDEN_PARTIAL.js https://github.com/angular/angular/pull/69558/files#diff-a909c8ab551fdcbe709f14d825a788be4fff44a3db940a1b1f8ec593a8820918
sanitization.js https://github.com/angular/angular/pull/69558/files#diff-e4db725bee1599f820576a626685dccadf62aa639e016d331bc6054e7ce9e28a
sanitization.ts https://github.com/angular/angular/pull/69558/files#diff-a19c57fe196d37dc94f03965521f9e5e70814372c7a5e1c79fcb83083b84ffc0
sanitization_isolated.golden.d.ts https://github.com/angular/angular/pull/69558/files#diff-021747ec2642f18654c8be63e56580bd54be2337e639eabcc7ecb8d961841036
ngtsc_spec.ts https://github.com/angular/angular/pull/69558/files#diff-9b200a5c9335361ab911b28a6e5baa0a4487cf4f0c2fc5b1c10bc46829426abb
dom_security_schema.ts https://github.com/angular/angular/pull/69558/files#diff-14140d5e083fd72d69d738ee8c5161666cd7af0dc568e7bc7ad93ccaa477b67d
ingest.ts https://github.com/angular/angular/pull/69558/files#diff-b1e4c95e3f14b52160cbf995deb6a31f915584b15e5be61ba1ef5dbf7c0fdea5
resolve_sanitizers.ts https://github.com/angular/angular/pull/69558/files#diff-4cfb128d70e2614a1ce99f8f0b3fec65d12f11b2c419702e5eef4591b01403b8
component_ref.ts https://github.com/angular/angular/pull/69558/files#diff-fbe47ef469fbcadacf26a64f541e153f84265cc652a191a72ab3159abfcdb052
i18n_parse.ts https://github.com/angular/angular/pull/69558/files#diff-e0d4cdcf4427be234a44b63af00015e7ece8318addf2a61bf2d52f5e40cb80f6
node.ts https://github.com/angular/angular/pull/69558/files#diff-2a84a3d294c4f2537683c6337765a2bfada02e8a7f9a39b061d69d0cc3a1de83
namespaces.ts https://github.com/angular/angular/pull/69558/files#diff-abdeed459c296f100dd5688ebb40649d6311805808a5e7d33155aebec02eff56
state.ts https://github.com/angular/angular/pull/69558/files#diff-944eb46933429dc12ec1d68ccb1069562a3bb2c749a2ceb2ac532ff9863e5edf
tags.ts https://github.com/angular/angular/pull/69558/files#diff-7a1961f050b1d763186d952b015ccc6b4cfe87b81c50fe25d0ff508181016048
dom_security_schema.ts https://github.com/angular/angular/pull/69558/files#diff-1662db8b8aa1670cbaa88031147d1b4a9329c891f4a9d4ec6b7f20fe7a1609d2
sanitization.ts https://github.com/angular/angular/pull/69558/files#diff-6701df2bd1958acba5be89b66fde2d9a21e087debc7e5a2339869e2643940a6b
security_spec.ts https://github.com/angular/angular/pull/69558/files#diff-ebf3de12e677f0fceb3ed2814f291477f0337ff50e8a0a989338b46cabcec159
bundle.golden_symbols.json https://github.com/angular/angular/pull/69558/files#diff-0ea07045c567fb07c48994161c0a3bfa5bd1a676bc484d0fd8d3f9c5c2bc5d8d
sanitization_spec.ts https://github.com/angular/angular/pull/69558/files#diff-2bdcbef4e6751112bc53527ffc553fd296c785451c9315ea11ec7339a82bb327
...-cli/test/compliance/test_cases/r3_view_compiler_bindings/host_bindings/GOLDEN_PARTIAL.jshttps://github.com/angular/angular/pull/69558/files#diff-a909c8ab551fdcbe709f14d825a788be4fff44a3db940a1b1f8ec593a8820918
View file https://github.com/SkyZeroZx/angular/blob/777c258493c1e4599bcfe28e47296b860a8bb02c/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_bindings/host_bindings/GOLDEN_PARTIAL.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/69558/{{ revealButtonHref }}
https://github.com/angular/angular/pull/69558/files#diff-a909c8ab551fdcbe709f14d825a788be4fff44a3db940a1b1f8ec593a8820918
https://github.com/angular/angular/pull/69558/files#diff-a909c8ab551fdcbe709f14d825a788be4fff44a3db940a1b1f8ec593a8820918
https://github.com/angular/angular/pull/69558/files#diff-a909c8ab551fdcbe709f14d825a788be4fff44a3db940a1b1f8ec593a8820918
https://github.com/angular/angular/pull/69558/files#diff-a909c8ab551fdcbe709f14d825a788be4fff44a3db940a1b1f8ec593a8820918
...er-cli/test/compliance/test_cases/r3_view_compiler_bindings/host_bindings/sanitization.jshttps://github.com/angular/angular/pull/69558/files#diff-e4db725bee1599f820576a626685dccadf62aa639e016d331bc6054e7ce9e28a
View file https://github.com/SkyZeroZx/angular/blob/777c258493c1e4599bcfe28e47296b860a8bb02c/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_bindings/host_bindings/sanitization.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/69558/{{ revealButtonHref }}
https://github.com/angular/angular/pull/69558/files#diff-e4db725bee1599f820576a626685dccadf62aa639e016d331bc6054e7ce9e28a
...er-cli/test/compliance/test_cases/r3_view_compiler_bindings/host_bindings/sanitization.tshttps://github.com/angular/angular/pull/69558/files#diff-a19c57fe196d37dc94f03965521f9e5e70814372c7a5e1c79fcb83083b84ffc0
View file https://github.com/SkyZeroZx/angular/blob/777c258493c1e4599bcfe28e47296b860a8bb02c/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_bindings/host_bindings/sanitization.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/69558/{{ revealButtonHref }}
https://github.com/angular/angular/pull/69558/files#diff-a19c57fe196d37dc94f03965521f9e5e70814372c7a5e1c79fcb83083b84ffc0
...ance/test_cases/r3_view_compiler_bindings/host_bindings/sanitization_isolated.golden.d.tshttps://github.com/angular/angular/pull/69558/files#diff-021747ec2642f18654c8be63e56580bd54be2337e639eabcc7ecb8d961841036
View file https://github.com/SkyZeroZx/angular/blob/777c258493c1e4599bcfe28e47296b860a8bb02c/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_bindings/host_bindings/sanitization_isolated.golden.d.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/69558/{{ revealButtonHref }}
https://github.com/angular/angular/pull/69558/files#diff-021747ec2642f18654c8be63e56580bd54be2337e639eabcc7ecb8d961841036
packages/compiler-cli/test/ngtsc/ngtsc_spec.tshttps://github.com/angular/angular/pull/69558/files#diff-9b200a5c9335361ab911b28a6e5baa0a4487cf4f0c2fc5b1c10bc46829426abb
View file https://github.com/SkyZeroZx/angular/blob/777c258493c1e4599bcfe28e47296b860a8bb02c/packages/compiler-cli/test/ngtsc/ngtsc_spec.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/69558/{{ revealButtonHref }}
https://github.com/angular/angular/pull/69558/files#diff-9b200a5c9335361ab911b28a6e5baa0a4487cf4f0c2fc5b1c10bc46829426abb
https://github.com/angular/angular/pull/69558/files#diff-9b200a5c9335361ab911b28a6e5baa0a4487cf4f0c2fc5b1c10bc46829426abb
https://github.com/angular/angular/pull/69558/files#diff-9b200a5c9335361ab911b28a6e5baa0a4487cf4f0c2fc5b1c10bc46829426abb
https://github.com/angular/angular/pull/69558/files#diff-9b200a5c9335361ab911b28a6e5baa0a4487cf4f0c2fc5b1c10bc46829426abb
https://github.com/angular/angular/pull/69558/files#diff-9b200a5c9335361ab911b28a6e5baa0a4487cf4f0c2fc5b1c10bc46829426abb
https://github.com/angular/angular/pull/69558/files#diff-9b200a5c9335361ab911b28a6e5baa0a4487cf4f0c2fc5b1c10bc46829426abb
packages/compiler/src/schema/dom_security_schema.tshttps://github.com/angular/angular/pull/69558/files#diff-14140d5e083fd72d69d738ee8c5161666cd7af0dc568e7bc7ad93ccaa477b67d
View file https://github.com/SkyZeroZx/angular/blob/777c258493c1e4599bcfe28e47296b860a8bb02c/packages/compiler/src/schema/dom_security_schema.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/69558/{{ revealButtonHref }}
https://github.com/angular/angular/pull/69558/files#diff-14140d5e083fd72d69d738ee8c5161666cd7af0dc568e7bc7ad93ccaa477b67d
https://github.com/angular/angular/pull/69558/files#diff-14140d5e083fd72d69d738ee8c5161666cd7af0dc568e7bc7ad93ccaa477b67d
packages/compiler/src/template/pipeline/src/ingest.tshttps://github.com/angular/angular/pull/69558/files#diff-b1e4c95e3f14b52160cbf995deb6a31f915584b15e5be61ba1ef5dbf7c0fdea5
View file https://github.com/SkyZeroZx/angular/blob/777c258493c1e4599bcfe28e47296b860a8bb02c/packages/compiler/src/template/pipeline/src/ingest.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/69558/{{ revealButtonHref }}
https://github.com/angular/angular/pull/69558/files#diff-b1e4c95e3f14b52160cbf995deb6a31f915584b15e5be61ba1ef5dbf7c0fdea5
https://github.com/angular/angular/pull/69558/files#diff-b1e4c95e3f14b52160cbf995deb6a31f915584b15e5be61ba1ef5dbf7c0fdea5
https://github.com/angular/angular/pull/69558/files#diff-b1e4c95e3f14b52160cbf995deb6a31f915584b15e5be61ba1ef5dbf7c0fdea5
https://github.com/angular/angular/pull/69558/files#diff-b1e4c95e3f14b52160cbf995deb6a31f915584b15e5be61ba1ef5dbf7c0fdea5
Please reload this pagehttps://github.com/angular/angular/pull/69558/files
https://github.com/angular/angular/pull/69558/files#diff-b1e4c95e3f14b52160cbf995deb6a31f915584b15e5be61ba1ef5dbf7c0fdea5
Please reload this pagehttps://github.com/angular/angular/pull/69558/files
Please reload this pagehttps://github.com/angular/angular/pull/69558/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.