René's URL Explorer Experiment


Title: Angular SSR content projection can change the effective namespace after security validation · Issue #70490 · angular/angular · GitHub

Open Graph Title: Angular SSR content projection can change the effective namespace after security validation · Issue #70490 · angular/angular

X Title: Angular SSR content projection can change the effective namespace after security validation · Issue #70490 · angular/angular

Description: Deliver web apps with confidence 🚀. Contribute to angular/angular development by creating an account on GitHub.

Open Graph Description: Deliver web apps with confidence 🚀. Contribute to angular/angular development by creating an account on GitHub.

X Description: Deliver web apps with confidence 🚀. Contribute to angular/angular development by creating an account on GitHub.

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Angular SSR content projection can change the effective namespace after security validation","articleBody":"### Which @angular/* package(s) are the source of the bug?\n\ncompiler\n\n### Is this a regression?\n\nNo\n\n### Description\n\nAngular SSR can validate projected content in the default namespace and later serialize it inside an SVG subtree, where the browser reparses it as SVG.\n\nThis can bypass the SVG animation binding protection for attributes such as `set.to`.\n\nA minimal example only requires a component that exposes a normal content-projection slot inside an SVG:\n\n```ts\nimport { Component, Directive } from '@angular/core';\n\n@Directive({\n  selector: '[graphAction]',\n})\nclass GraphActionDirective {}\n\n@Component({\n  selector: 'app-graph',\n  template: `\n    \u003csvg width=\"300\" height=\"80\">\n      \u003cg>\n        \u003ca>\n          \u003cng-content />\n          \u003ctext x=\"10\" y=\"40\" style=\"cursor: pointer; fill: blue; text-decoration: underline\">\n            Click action\n          \u003c/text>\n        \u003c/a>\n      \u003c/g>\n    \u003c/svg>\n  `,\n})\nclass Graph {}\n\n@Component({\n  selector: 'app-root',\n  imports: [Graph , GraphActionDirective],\n  template: `\n    \u003capp-graph>\n      \u003cset\n        graphAction\n        attributeName=\"href\"\n        [attr.to]=\"target\"\n        begin=\"0s\"\n        fill=\"freeze\">\n      \u003c/set>\n    \u003c/app-graph>\n  `,\n})\nexport class App {\n  target = \"javascript:alert('XSS')\";\n}\n```\n\nAngular creates the projected `set` from the caller template in the default namespace.\n\nDuring SSR it is then serialized at its physical projection position:\n\n```html\n\u003csvg>\n  \u003cg>\n    \u003ca>\n      \u003cset attributeName=\"href\" to=\"javascript:alert('XSS')\">\u003c/set>\n    \u003c/a>\n  \u003c/g>\n\u003c/svg>\n```\n\nWhen Chromium parses the SSR response, that `set` becomes an SVG element.\n\nClicking `Click action` then executes the JavaScript URL.\n\nAngular already explicitly rejects bindings to security-sensitive SVG animation attributes such as `set.to` through `SecurityContext.ATTRIBUTE_NO_BINDING`.\n\nThe issue is that the security check happens using the original logical namespace, while the browser interprets the serialized result using the final physical namespace\n\nThe namespace used for Angular's security decision therefore differs from the namespace of the final browser element.\n\n\nThis was reported on https://issuetracker.google.com/issues/554217431\n\n ","author":{"url":"https://github.com/SkyZeroZx","@type":"Person","name":"SkyZeroZx"},"datePublished":"2026-08-31T18:25:50Z","url":"https://github.com/angular/angular/issues/70490"}

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/issues/:id(.:format)
route-controllerissues
route-actionshow
fetch-noncev2:b341816a-1df8-2b55-57ba-10162295f507
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id995A:2564F:1291E86:1883C97:6B011874
html-safe-nonce963fbea5031262e39d15e8b171000ac6a5eeb4d01cd125700a583d06c439925b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTVBOjI1NjRGOjEyOTFFODY6MTg4M0M5Nzo2QjAxMTg3NCIsInZpc2l0b3JfaWQiOiI0NDM3NDU2Mzk0MDcyOTU0OTk3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac1b8aff7afc7698e4ed2a06d9802eb8b6a67a944b79a373f32b7f4e3a1316a6cc
hovercard-subject-tagrepository:24195339
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///issues/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/angular/angular/issues/70490
twitter:imagehttps://repository-images.githubusercontent.com/24195339/d4194dc2-d880-43f7-960c-ea30e05c6531
twitter:cardsummary_large_image
og:imagehttps://repository-images.githubusercontent.com/24195339/d4194dc2-d880-43f7-960c-ea30e05c6531
og:image:altDeliver web apps with confidence 🚀. Contribute to angular/angular development by creating an account on GitHub.
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/70490#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F70490
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%2Fissues%2F70490
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fissues%2Fshow&source=header-repo&source_repo=angular%2Fangular
Reloadhttps://github.com/angular/angular/issues/70490
Reloadhttps://github.com/angular/angular/issues/70490
Reloadhttps://github.com/angular/angular/issues/70490
https://github.com/angular/angular
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/70490
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/70490
#70491https://github.com/angular/angular/pull/70491
Angular SSR content projection can change the effective namespace after security validationhttps://github.com/angular/angular/issues/70490#top
#70491https://github.com/angular/angular/pull/70491
area: securityIssues related to built-in security features, such as HTML sanitationhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20security%22
needsTriagehttps://github.com/angular/angular/milestone/83
https://github.com/SkyZeroZx
SkyZeroZxhttps://github.com/SkyZeroZx
on Aug 31, 2026https://github.com/angular/angular/issues/70490#issue-5303504890
https://issuetracker.google.com/issues/554217431https://issuetracker.google.com/issues/554217431
angular-robothttps://github.com/apps/angular-robot
area: securityIssues related to built-in security features, such as HTML sanitationhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20security%22
gemini-triagedhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22gemini-triaged%22
on Aug 31, 2026https://github.com/angular/angular/issues/70490#event-30297675022
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
on Aug 31, 2026https://github.com/angular/angular/issues/70490#event-30297676417
SkyZeroZxhttps://github.com/SkyZeroZx
on Aug 31, 2026https://github.com/angular/angular/issues/70490#event-30299894707
fix(core): validate SVG animation attributes outside the SVG namespacehttps://github.com/SkyZeroZx/angular/commit/0560aca1a427bd1e3cea99646a258ab5f92f3da4
https://docs.github.com/articles/closing-issues-via-commit-messages
0560acahttps://github.com/SkyZeroZx/angular/commit/0560aca1a427bd1e3cea99646a258ab5f92f3da4
fix(core): validate SVG animation attributes outside the SVG namespacehttps://github.com/SkyZeroZx/angular/commit/ff4b420d4fc44e9e7f6a8a22cef4eaa6aaf67797
https://docs.github.com/articles/closing-issues-via-commit-messages
ff4b420https://github.com/SkyZeroZx/angular/commit/ff4b420d4fc44e9e7f6a8a22cef4eaa6aaf67797
fix(core): validate SVG animation attributes outside the SVG namespacehttps://github.com/SkyZeroZx/angular/commit/d2c1ef85a75176d550a2780d1b2c01687e8d7961
https://docs.github.com/articles/closing-issues-via-commit-messages
d2c1ef8https://github.com/SkyZeroZx/angular/commit/d2c1ef85a75176d550a2780d1b2c01687e8d7961
fix(core): validate SVG animation attributes outside the SVG namespacehttps://github.com/SkyZeroZx/angular/commit/c5ae243cc3c0a8c00ff931d75f53e0f288f46eda
https://docs.github.com/articles/closing-issues-via-commit-messages
c5ae243https://github.com/SkyZeroZx/angular/commit/c5ae243cc3c0a8c00ff931d75f53e0f288f46eda
mattrbeckhttps://github.com/mattrbeck
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#70491https://github.com/angular/angular/pull/70491
on Sep 2, 2026https://github.com/angular/angular/issues/70490#event-30451239237
mattrbeckhttps://github.com/mattrbeck
on Sep 2, 2026https://github.com/angular/angular/issues/70490#event-30451241217
fix(core): validate SVG animation attributes outside the SVG namespacehttps://github.com/angular/angular/commit/c65d378bb4fded436f197aa7bc52c03f507b8bd4
https://docs.github.com/articles/closing-issues-via-commit-messages
c65d378https://github.com/angular/angular/commit/c65d378bb4fded436f197aa7bc52c03f507b8bd4
JeanMechehttps://github.com/JeanMeche
on Sep 2, 2026https://github.com/angular/angular/issues/70490#event-30451380743
fix(core): validate SVG animation attributes outside the SVG namespacehttps://github.com/JeanMeche/angular/commit/7168bed663ba2a53f087a68a251e8ccfd938eb97
https://docs.github.com/articles/closing-issues-via-commit-messages
7168bedhttps://github.com/JeanMeche/angular/commit/7168bed663ba2a53f087a68a251e8ccfd938eb97
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Oct 24, 2026https://github.com/angular/angular/issues/70490#issuecomment-6377405999
automatic conversation locking policyhttps://github.com/angular/angular/blob/f0fbced1c55bc8b8ed9df01cea99df42f3e7eae3/contributing-docs/auto-issue-locking.md
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Oct 24, 2026https://github.com/angular/angular/issues/70490#event-34101848546
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/70490
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/70490
area: securityIssues related to built-in security features, such as HTML sanitationhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20security%22
needsTriageNo due datehttps://github.com/angular/angular/milestone/83
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.