Skip to content
This repository was archived by the owner on Oct 17, 2026. It is now read-only.

security: validate and encode Drive file ID in timeline_viewer.js - #115

Merged
paulirish merged 1 commit into
ChromeDevTools:masterfrom
wolfib:fix-drive-path-injection
Oct 16, 2026
Merged

paulirish merged 1 commit into
ChromeDevTools:masterfrom
wolfib:fix-drive-path-injection

Conversation

@wolfib

@wolfib wolfib commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Validate that this.timelineId matches /^[\w-]{10,100}$/ for Google Drive URLs and URL-encode this.timelineId when building the Drive API request URL

fixed: http://b/528752607

@paulirish
paulirish merged commit 0d5f8b3 into ChromeDevTools:master Oct 16, 2026
6 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants