René's URL Explorer Experiment


Title: fix(astro,tanstack-react-start): Fix XSS via user-controlled JSON by dominic-clerk · Pull Request #9166 · clerk/javascript · GitHub

Open Graph Title: fix(astro,tanstack-react-start): Fix XSS via user-controlled JSON by dominic-clerk · Pull Request #9166 · clerk/javascript

X Title: fix(astro,tanstack-react-start): Fix XSS via user-controlled JSON by dominic-clerk · Pull Request #9166 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - fix(astro,tanstack-react-start): Fix XSS via user-controlled JSON by dominic-clerk · Pull Request #9166 · clerk/javascript

Open Graph Description: Description The JSON injected in the page may contain user-controlled data in certain circumstances. This PR introduces a helper that ensures the JSON cannot be broken out of to cause XSS. Fixes SD...

X Description: Description The JSON injected in the page may contain user-controlled data in certain circumstances. This PR introduces a helper that ensures the JSON cannot be broken out of to cause XSS. Fixes SD...

Opengraph URL: https://github.com/clerk/javascript/pull/9166

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:ed2ffd40-a1bf-fa80-b234-1fc165ee38b3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8B30:137FBB:4522E68:5C2D4F2:6AFAC921
html-safe-nonce82ba685b5d276eb907c8adc8153cc392c0d00f95d8df07f92d39a921eee75725
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjMwOjEzN0ZCQjo0NTIyRTY4OjVDMkQ0RjI6NkFGQUM5MjEiLCJ2aXNpdG9yX2lkIjoiNTY5MDAzMDE1NTA4Mjk0Mjc1MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd9f90d98b77f0938e4c523f55fbce4147436c42dd777d9f895bc2e1335aa461f
hovercard-subject-tagpull_request:4059630222
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/clerk/javascript/9166/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/43d3be6c922459b42610c83978a92d598f74dc1b0111296fbe78d5f0ae8b7884/clerk/javascript/pull/9166
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/43d3be6c922459b42610c83978a92d598f74dc1b0111296fbe78d5f0ae8b7884/clerk/javascript/pull/9166
og:image:altDescription The JSON injected in the page may contain user-controlled data in certain circumstances. This PR introduces a helper that ensures the JSON cannot be broken out of to cause XSS. Fixes SD...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedominic-clerk
hostnamegithub.com
expected-hostnamegithub.com
Noneaa0433de2f392a016f21549c10194a963f65b58eb02faea3916953819b623290
turbo-cache-controlno-cache
go-importgithub.com/clerk/javascript git https://github.com/clerk/javascript.git
octolytics-dimension-user_id49538330
octolytics-dimension-user_loginclerk
octolytics-dimension-repository_id438331492
octolytics-dimension-repository_nwoclerk/javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id438331492
octolytics-dimension-repository_network_root_nwoclerk/javascript
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
releasebe9dc02df8087c7449fb60a416e138c34108ed94
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/clerk/javascript/pull/9166#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F9166
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%2Fclerk%2Fjavascript%2Fpull%2F9166
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=clerk%2Fjavascript
Reloadhttps://github.com/clerk/javascript/pull/9166
Reloadhttps://github.com/clerk/javascript/pull/9166
Reloadhttps://github.com/clerk/javascript/pull/9166
clerkhttps://github.com/clerk
javascripthttps://github.com/clerk/javascript
Codehttps://github.com/clerk/javascript
Issues44 (44)https://github.com/clerk/javascript/issues
Pull requests112 (112)https://github.com/clerk/javascript/pulls
Discussionshttps://github.com/clerk/javascript/discussions
Actionshttps://github.com/clerk/javascript/actions
Security and quality6 (6)https://github.com/clerk/javascript/security
Insightshttps://github.com/clerk/javascript/pulse
https://github.com/clerk/javascript
dominic-clerkhttps://github.com/dominic-clerk
mainhttps://github.com/clerk/javascript/tree/main
dc-initial-state-xsshttps://github.com/clerk/javascript/tree/dc-initial-state-xss
Conversationhttps://github.com/clerk/javascript/pull/9166
Commits2 (2)https://github.com/clerk/javascript/pull/9166/commits
Checkshttps://github.com/clerk/javascript/pull/9166/checks
Files changedhttps://github.com/clerk/javascript/pull/9166/files
fix(astro,tanstack-react-start): Fix XSS via user-controlled JSONhttps://github.com/clerk/javascript/pull/9166#top
dominic-clerkhttps://github.com/dominic-clerk
mainhttps://github.com/clerk/javascript/tree/main
dc-initial-state-xsshttps://github.com/clerk/javascript/tree/dc-initial-state-xss
https://github.com/dominic-clerk
dominic-clerkhttps://github.com/dominic-clerk
Jul 15, 2026https://github.com/clerk/javascript/pull/9166#issue-4891539220
Please reload this pagehttps://github.com/clerk/javascript/pull/9166
JSDoc commentshttps://jsdoc.app/about-getting-started.html
Documentationhttps://github.com/clerk/clerk-docs
Please reload this pagehttps://github.com/clerk/javascript/pull/9166
https://github.com/dominic-clerk
fix(astro,tanstack-react-start): Fix XSS via user-controlled JSONhttps://github.com/clerk/javascript/pull/9166/commits/d655a74316c20a6c918be687227228f3b21c4178
d655a74https://github.com/clerk/javascript/pull/9166/commits/d655a74316c20a6c918be687227228f3b21c4178
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Jul 15, 2026https://github.com/clerk/javascript/pull/9166#issuecomment-4979470364
Please reload this pagehttps://github.com/clerk/javascript/pull/9166
7f76f3bhttps://github.com/clerk/javascript/commit/7f76f3b97d884075446a18cd053bbb5ae16274b0
Click here to learn what changesets arehttps://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md
Click here if you're a maintainer who wants to add another changeset to this PRhttps://github.com/clerk/javascript/new/dc-initial-state-xss?filename=.changeset/legal-views-read.md&value=---%0A%22%40clerk%2Fastro%22%3A%20patch%0A%22%40clerk%2Fshared%22%3A%20patch%0A%22%40clerk%2Ftanstack-react-start%22%3A%20patch%0A---%0A%0Afix(astro%2Ctanstack-react-start)%3A%20Fix%20XSS%20via%20user-controlled%20JSON%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/9166
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-6t6lwpbpc.clerkstage.dev
Preview – clerk-js-sandboxhttps://clerk-js-sandbox-6t6lwpbpc.clerkstage.dev
July 15, 2026 10:19https://github.com/clerk/javascript/pull/9166#event-28010061727
View deploymenthttps://clerk-js-sandbox-6t6lwpbpc.clerkstage.dev
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Jul 15, 2026https://github.com/clerk/javascript/pull/9166#issuecomment-4979472565
Please reload this pagehttps://github.com/clerk/javascript/pull/9166
Vercel for GitHubhttps://vercel.link/github-learn-more
clerk-js-sandboxhttps://vercel.com/clerk-production/clerk-js-sandbox
https://camo.githubusercontent.com/833ba95642364322d56bfc6cc95692affdd7a5a6ca7b50fdcc44aa7e47372d3b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f72656164792e737667
Readyhttps://vercel.com/clerk-production/clerk-js-sandbox/5cWoiem5XQQL1W4Xo2KcvKCkVq8d
Previewhttps://clerk-js-sandbox-git-dc-initial-state-xss.clerkstage.dev
Commenthttps://vercel.live/open-feedback/clerk-js-sandbox-git-dc-initial-state-xss.clerkstage.dev?via=pr-comment-feedback-link
swingsethttps://vercel.com/clerk-production/swingset
https://camo.githubusercontent.com/833ba95642364322d56bfc6cc95692affdd7a5a6ca7b50fdcc44aa7e47372d3b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f72656164792e737667
Readyhttps://vercel.com/clerk-production/swingset/HyAcmXycBUerGC9N1aadnYPedkJg
Previewhttps://swingset-git-dc-initial-state-xss.clerkstage.dev
Commenthttps://vercel.live/open-feedback/swingset-git-dc-initial-state-xss.clerkstage.dev?via=pr-comment-feedback-link
https://vercel.com/vercel-agent/request-review?owner=clerk&repo=javascript&pr=9166
Please reload this pagehttps://github.com/clerk/javascript/pull/9166
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jul 15, 2026https://github.com/clerk/javascript/pull/9166#issuecomment-4979473028
Please reload this pagehttps://github.com/clerk/javascript/pull/9166
https://app.coderabbit.ai/change-stack/clerk/javascript/pull/9166?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack
d655a74https://github.com/clerk/javascript/commit/d655a74316c20a6c918be687227228f3b21c4178
7f76f3bhttps://github.com/clerk/javascript/commit/7f76f3b97d884075446a18cd053bbb5ae16274b0
Please reload this pagehttps://github.com/clerk/javascript/pull/9166
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
tanstack https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Atanstack
astro https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aastro
Jul 15, 2026https://github.com/clerk/javascript/pull/9166#event-28010065395
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://swingset-8ikivstkg.clerkstage.dev
Preview – swingsethttps://swingset-8ikivstkg.clerkstage.dev
July 15, 2026 10:21https://github.com/clerk/javascript/pull/9166#event-28010117716
View deploymenthttps://swingset-8ikivstkg.clerkstage.dev
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jul 15, 2026 https://github.com/clerk/javascript/pull/9166#pullrequestreview-4703164178
View reviewed changes https://github.com/clerk/javascript/pull/9166/files/d655a74316c20a6c918be687227228f3b21c4178
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/clerk/javascript/pull/9166#pullrequestreview-4703164178
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
99ac79fhttps://github.com/clerk/javascript/commit/99ac79faf99ef6db30b14a0b40bfe5d0b29893e8
d655a74https://github.com/clerk/javascript/commit/d655a74316c20a6c918be687227228f3b21c4178
Please reload this pagehttps://github.com/clerk/javascript/pull/9166
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jul 15, 2026https://github.com/clerk/javascript/pull/9166#issuecomment-4979526507
Please reload this pagehttps://github.com/clerk/javascript/pull/9166
Break Checkhttps://github.com/clerk/break-check
Please reload this pagehttps://github.com/clerk/javascript/pull/9166
https://github.com/apps/pkg-pr-new
pkg-pr-newhttps://github.com/apps/pkg-pr-new
Jul 15, 2026https://github.com/clerk/javascript/pull/9166#issuecomment-4979810882
Please reload this pagehttps://github.com/clerk/javascript/pull/9166
Open in StackBlitzhttps://pkg.pr.new/template/bd8e3da6-4acd-449b-8f3c-c3384563a045
7f76f3bhttps://github.com/clerk/javascript/runs/87345956795
Please reload this pagehttps://github.com/clerk/javascript/pull/9166
https://github.com/dominic-clerk
Fix linting errorhttps://github.com/clerk/javascript/pull/9166/commits/7f76f3b97d884075446a18cd053bbb5ae16274b0
7f76f3bhttps://github.com/clerk/javascript/pull/9166/commits/7f76f3b97d884075446a18cd053bbb5ae16274b0
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-cijrmo4w3.clerkstage.dev
Preview – clerk-js-sandboxhttps://clerk-js-sandbox-cijrmo4w3.clerkstage.dev
July 15, 2026 11:56https://github.com/clerk/javascript/pull/9166#event-28013807032
View deploymenthttps://clerk-js-sandbox-cijrmo4w3.clerkstage.dev
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://swingset-jbcr9i37b.clerkstage.dev
Preview – swingsethttps://swingset-jbcr9i37b.clerkstage.dev
July 15, 2026 11:57https://github.com/clerk/javascript/pull/9166#event-28013872721
View deploymenthttps://swingset-jbcr9i37b.clerkstage.dev
https://github.com/wobsoriano
wobsorianohttps://github.com/wobsoriano
Jul 16, 2026 https://github.com/clerk/javascript/pull/9166#pullrequestreview-4713602030
View reviewed changes https://github.com/clerk/javascript/pull/9166/files/7f76f3b97d884075446a18cd053bbb5ae16274b0
https://github.com/alexcarpenter
alexcarpenterhttps://github.com/alexcarpenter
Jul 16, 2026 https://github.com/clerk/javascript/pull/9166#pullrequestreview-4713603375
View reviewed changes https://github.com/clerk/javascript/pull/9166/files/7f76f3b97d884075446a18cd053bbb5ae16274b0
https://github.com/dominic-clerk
dominic-clerkhttps://github.com/dominic-clerk
July 16, 2026 12:31https://github.com/clerk/javascript/pull/9166#event-28068995523
https://github.com/dominic-clerk
dominic-clerkhttps://github.com/dominic-clerk
bcbdda6https://github.com/clerk/javascript/commit/bcbdda6d7d6c6e12cf33febe17fd148c69788716
Jul 16, 2026https://github.com/clerk/javascript/pull/9166#event-28069162504
Please reload this pagehttps://github.com/clerk/javascript/pull/9166
https://github.com/dominic-clerk
dominic-clerkhttps://github.com/dominic-clerk
July 16, 2026 12:35https://github.com/clerk/javascript/pull/9166#event-28069163627
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
Jul 16, 2026 https://github.com/clerk/javascript/pull/9166#ref-pullrequest-4899206910
ci(repo): Version packages #9175 https://github.com/clerk/javascript/pull/9175
Deployedhttps://swingset-jbcr9i37b.clerkstage.dev
vercel[bot]https://github.com/apps/vercel
View deployment https://swingset-jbcr9i37b.clerkstage.dev
Deployedhttps://clerk-js-sandbox-cijrmo4w3.clerkstage.dev
vercel[bot]https://github.com/apps/vercel
View deployment https://clerk-js-sandbox-cijrmo4w3.clerkstage.dev
https://github.co/hiddenchars
https://github.com/clerk/javascript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F9166
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/clerk/javascript/pull/9166/files/d655a74316c20a6c918be687227228f3b21c4178
https://github.com/alexcarpenter
alexcarpenter https://github.com/alexcarpenter
https://github.com/clerk/javascript/pull/9166/files/7f76f3b97d884075446a18cd053bbb5ae16274b0
https://github.com/wobsoriano
wobsoriano https://github.com/wobsoriano
https://github.com/clerk/javascript/pull/9166/files/7f76f3b97d884075446a18cd053bbb5ae16274b0
Please reload this pagehttps://github.com/clerk/javascript/pull/9166
astro https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aastro
tanstack https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Atanstack
Please reload this pagehttps://github.com/clerk/javascript/pull/9166
https://github.com/dominic-clerk
https://github.com/alexcarpenter
https://github.com/wobsoriano
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.