René's URL Explorer Experiment


Title: security(aggregator): comment githubUrl is stored unvalidated and rendered as a link href — a javascript: URL reaches the dashboard · Issue #950 · developing-today/code · GitHub

Open Graph Title: security(aggregator): comment githubUrl is stored unvalidated and rendered as a link href — a javascript: URL reaches the dashboard · Issue #950 · developing-today/code

X Title: security(aggregator): comment githubUrl is stored unvalidated and rendered as a link href — a javascript: URL reaches the dashboard · Issue #950 · developing-today/code

Description: Finding The dashboard comments flow stores a caller-supplied githubUrl with no validation and later renders it as a link href. HTML escaping prevents attribute breakout but not dangerous schemes: a stored javascript: or data: URL becomes...

Open Graph Description: Finding The dashboard comments flow stores a caller-supplied githubUrl with no validation and later renders it as a link href. HTML escaping prevents attribute breakout but not dangerous schemes: a...

X Description: Finding The dashboard comments flow stores a caller-supplied githubUrl with no validation and later renders it as a link href. HTML escaping prevents attribute breakout but not dangerous schemes: a...

Opengraph URL: https://github.com/developing-today/code/issues/950

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"security(aggregator): comment githubUrl is stored unvalidated and rendered as a link href — a javascript: URL reaches the dashboard","articleBody":"## Finding\n\nThe dashboard comments flow stores a caller-supplied `githubUrl` with no validation and later renders it as a link `href`. HTML escaping prevents attribute breakout but not dangerous schemes: a stored `javascript:` or `data:` URL becomes a clickable script link in the dashboard.\n\n## Evidence (PR #920, merge `12620917dd5f`, current main `a2eef6f7920a`)\n\n- `pm-stack/aggregator/src/server.ts:150-156`: `POST /api/comments/github-result` accepts `url: typeof body.url === \"string\" ? body.url : undefined` — any string, no pattern check.\n- `pm-stack/aggregator/src/comments.ts:173-179`: `CommentsStore.markGithubResult` stores it verbatim (`c.githubUrl = result.url`); no validation exists anywhere in `comments.ts`.\n- `pm-stack/aggregator/src/render.ts:231`: renders `\u003ca href=\"${esc(c.githubUrl)}\">view\u003c/a>`. `esc()` escapes `&\u003c>\"'` (attribute breakout is blocked) but passes a `javascript:` scheme through unchanged.\n\n## Why it matters\n\nThe comments API is unauthenticated by design (loopback + tailnet trust model, per the `comments.ts` header comment), so anything that can POST to it — a compromised tailnet peer, a stray script, another agent run — can plant a script-scheme link in a dashboard the maintainer clicks during triage. Low severity because of that trust model and because the click is required, but the fix is one allowlist check at the single write path.\n\n## Acceptance criteria\n\n- `markGithubResult` (or the endpoint) rejects any `url` not matching `^https://github\\.com/`.\n- A test posts a `javascript:` URL to the github-result flow and asserts rejection (no stored `githubUrl`).\n- The existing flow — a real `https://github.com/…` result URL is recorded and rendered as the \"view\" link — still works.\n\nFound by the pr-diff-review job reviewing PR #920 against current main. Dedupe: searches for `githubUrl` / `github-result URL validation` / `dashboard comment href javascript` returned no existing issue (only the closed parent implementation issue #906).\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-26T04:48:22Z","url":"https://github.com/developing-today/code/issues/950"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:c355046d-87ec-82c4-f768-274da0025da7
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE1D2:1759AA:4102A7:57AD66:6B061EC3
html-safe-nonce7226928375db9eaef5f73f67b411a0f835220de41d5861ee64b49a568c206c3f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMUQyOjE3NTlBQTo0MTAyQTc6NTdBRDY2OjZCMDYxRUMzIiwidmlzaXRvcl9pZCI6IjMzNjE3MTkzNDMwMTU5Mjc0OTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc3e799b876c2355adfb5d936232f7e758d994f907be0bcd6575317512e7aba10
hovercard-subject-tagissue:6033542597
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/950/issue_layout
twitter:imagehttps://opengraph.githubassets.com/cd92b717eeabc5e61301b078a2d2af4b652c7f3cbe01ea8c651f5be4f2e8f076/developing-today/code/issues/950
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cd92b717eeabc5e61301b078a2d2af4b652c7f3cbe01ea8c651f5be4f2e8f076/developing-today/code/issues/950
og:image:altFinding The dashboard comments flow stores a caller-supplied githubUrl with no validation and later renders it as a link href. HTML escaping prevents attribute breakout but not dangerous schemes: a...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedezren39
hostnamegithub.com
expected-hostnamegithub.com
None9a7c5824b75ea2ec5e3de73a483229c7bb9f32a774ffd401f010dd9bacf1483d
turbo-cache-controlno-preview
go-importgithub.com/developing-today/code git https://github.com/developing-today/code.git
octolytics-dimension-user_id26439447
octolytics-dimension-user_logindeveloping-today
octolytics-dimension-repository_id627308783
octolytics-dimension-repository_nwodeveloping-today/code
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id627308783
octolytics-dimension-repository_network_root_nwodeveloping-today/code
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
releaseb25c3080e84402f75431d8dc7a96b2635219cec7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/950#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F950
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%2Fdeveloping-today%2Fcode%2Fissues%2F950
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=developing-today%2Fcode
Reloadhttps://github.com/developing-today/code/issues/950
Reloadhttps://github.com/developing-today/code/issues/950
Reloadhttps://github.com/developing-today/code/issues/950
developing-todayhttps://github.com/developing-today
codehttps://github.com/developing-today/code
Codehttps://github.com/developing-today/code
Issues1.1k (1.1k)https://github.com/developing-today/code/issues
Pull requests145 (145)https://github.com/developing-today/code/pulls
Discussionshttps://github.com/developing-today/code/discussions
Actionshttps://github.com/developing-today/code/actions
Projectshttps://github.com/developing-today/code/projects
Wikihttps://github.com/developing-today/code/wiki
Security and qualityhttps://github.com/developing-today/code/security
Insightshttps://github.com/developing-today/code/insights
https://github.com/developing-today/code
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/950
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/950
#4599https://github.com/developing-today/code/pull/4599
security(aggregator): comment githubUrl is stored unvalidated and rendered as a link href — a javascript: URL reaches the dashboardhttps://github.com/developing-today/code/issues/950#top
#4599https://github.com/developing-today/code/pull/4599
https://github.com/dezren39
app/aggregatorhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Faggregator%22
app/pm-stackhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fpm-stack%22
kind/securityhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fsecurity%22
priority/lowhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Flow%22
source/pr-diff-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fpr-diff-review%22
task/triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Ftriage%22
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 26, 2026https://github.com/developing-today/code/issues/950#issue-6033542597
#920https://github.com/developing-today/code/pull/920
#920https://github.com/developing-today/code/pull/920
#906https://github.com/developing-today/code/issues/906
Nexthttps://github.com/developing-today/code/issues/950?timeline_page=1
dezren39https://github.com/dezren39
kind/securityhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fsecurity%22
task/triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Ftriage%22
status/needs-triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fneeds-triage%22
source/pr-diff-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fpr-diff-review%22
on Oct 26, 2026https://github.com/developing-today/code/issues/950#event-34225167762
https://github.com/apps/developing-today
developing-todayhttps://github.com/apps/developing-today
on Oct 26, 2026https://github.com/developing-today/code/issues/950#issuecomment-6408474060
developing.todayhttps://kaneo.security.cab
CODE-162https://kaneo.security.cab/dashboard/workspace/6oQgIkST0YGrCcxrnhbHPOUCfgdD3cqE/project/pfcq432h349r20up18gttfv4/task/csjo9wkulllgui2eagf3syq5
dezren39https://github.com/dezren39
priority/lowhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Flow%22
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
app/aggregatorhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Faggregator%22
on Oct 26, 2026https://github.com/developing-today/code/issues/950#event-34225168489
github-actionshttps://github.com/apps/github-actions
dezren39https://github.com/dezren39
on Oct 26, 2026https://github.com/developing-today/code/issues/950#event-34225172665
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 26, 2026https://github.com/developing-today/code/issues/950#issuecomment-6408481948
a2eef6fhttps://github.com/developing-today/code/commit/a2eef6f7920a4dbc98a1f1059924e9adeb967f5d
dezren39https://github.com/dezren39
app/pm-stackhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fpm-stack%22
on Nov 1, 2026https://github.com/developing-today/code/issues/950#event-34856695982
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 2, 2026https://github.com/developing-today/code/issues/950#issuecomment-6589246022
security(aggregator): comment githubUrl is stored unvalidated and rendered as a link href — a javascript: URL reaches the dashboard #950https://github.com/developing-today/code/issues/950
security(aggregator): comment githubUrl is stored unvalidated and rendered as a link href — a javascript: URL reaches the dashboard #950https://github.com/developing-today/code/issues/950
https://github.com/https://github.com/
dezren39https://github.com/dezren39
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
status/needs-triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fneeds-triage%22
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
on Nov 2, 2026https://github.com/developing-today/code/issues/950#event-34958558696
dezren39https://github.com/dezren39
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
status/parkedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fparked%22
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
queue/parkedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fparked%22
on Nov 3, 2026https://github.com/developing-today/code/issues/950#event-35017750361
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 3, 2026https://github.com/developing-today/code/issues/950#issuecomment-6605732138
security(aggregator): comment githubUrl is stored unvalidated and rendered as a link href — a javascript: URL reaches the dashboard #950https://github.com/developing-today/code/issues/950
fix(aggregator): allowlist github-result URLs to https://github.com/ (#950) #4599https://github.com/developing-today/code/pull/4599
dezren39https://github.com/dezren39
on Nov 3, 2026https://github.com/developing-today/code/issues/950#event-35030490143
Merge pull request #4599 from developing-today/queue/6484-950-githubu…https://github.com/developing-today/code/commit/69e3b33eabb3a7be9f3c2da0378220825ad3770a
#4599https://github.com/developing-today/code/pull/4599
69e3b33https://github.com/developing-today/code/commit/69e3b33eabb3a7be9f3c2da0378220825ad3770a
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#4599https://github.com/developing-today/code/pull/4599
on Nov 3, 2026https://github.com/developing-today/code/issues/950#event-35030491100
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 3, 2026https://github.com/developing-today/code/issues/950#issuecomment-6606811868
#4599https://github.com/developing-today/code/pull/4599
fix(aggregator): allowlist github-result URLs to https://github.com/ (#950) #4599https://github.com/developing-today/code/pull/4599
69e3b33https://github.com/developing-today/code/commit/69e3b33eabb3a7be9f3c2da0378220825ad3770a
#4599https://github.com/developing-today/code/pull/4599
#4599https://github.com/developing-today/code/pull/4599
#950https://github.com/developing-today/code/issues/950
#950https://github.com/developing-today/code/issues/950
#4599https://github.com/developing-today/code/pull/4599
dezren39https://github.com/dezren39
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
on Nov 3, 2026https://github.com/developing-today/code/issues/950#event-35030522544
https://github.com/apps/developing-today
developing-todayhttps://github.com/apps/developing-today
on Nov 3, 2026https://github.com/developing-today/code/issues/950#issuecomment-6610248023
developing.todayhttps://kaneo.security.cab
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 3, 2026https://github.com/developing-today/code/issues/950#issuecomment-6610820997
security(aggregator): comment githubUrl is stored unvalidated and rendered as a link href — a javascript: URL reaches the dashboard #950https://github.com/developing-today/code/issues/950
fix(aggregator): allowlist github-result URLs to https://github.com/ (#950) #4599https://github.com/developing-today/code/pull/4599
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/950
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/950
dezren39https://github.com/dezren39
app/aggregatorhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Faggregator%22
app/pm-stackhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fpm-stack%22
kind/securityhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fsecurity%22
priority/lowhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Flow%22
source/pr-diff-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fpr-diff-review%22
task/triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Ftriage%22
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.