Description
BoxyHQ Enterprise SaaS Starter Kit through 1.6.0 contains a missing authorization vulnerability that allows non-owner team members to manage billing because payment routes skip the team_payments permission check. Authenticated MEMBER or ADMIN users can call create-portal-link, create-checkout-session, and products to open Stripe billing portals, view invoices, change payment methods, or alter subscriptions.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| BoxyHQ | saas-starter-kit | ≤ 1.6.0 | — |
References
- https://github.com/boxyhq/saas-starter-kit/issues/2511 issue-tracking
- https://github.com/boxyhq/saas-starter-kit/blob/v1.6.0/pages/api/teams/%5Bslug%5D/payments/create-portal-link.ts technical-description
- https://github.com/boxyhq/saas-starter-kit/blob/v1.6.0/pages/api/teams/%5Bslug%5D/payments/create-checkout-session.ts technical-description
- https://github.com/boxyhq/saas-starter-kit/blob/v1.6.0/pages/api/teams/%5Bslug%5D/payments/products.ts technical-description
- https://github.com/boxyhq/saas-starter-kit/blob/v1.6.0/lib/permissions.ts technical-description
- VulnCheck Advisory: BoxyHQ SaaS Starter Kit through 1.6.0 Missing Authorization on Team Payment API third-party-advisory