mirror of
https://tangled.org/evan.jarrett.net/at-container-registry
synced 2026-08-29 04:06:58 +00:00
findCustomerByDID built its search query with fmt.Sprintf, so the DID was interpolated into a quoted Stripe search string unescaped. DIDs arriving here are OAuth-validated and the DID grammar forbids quotes, so this is not currently exploitable, but the query's safety depended on a validator several layers away rather than on anything visible at the call site. Escape backslash and single quote the way Stripe's search grammar specifies. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>