Where
-Infinity
0

A live component protected by #[IsGranted], on its class or on its default action, can be rendered by a caller who is not granted access. POST /components/{name}/batch is handled by Symfony\UX\LiveComponent\Controller\BatchActionController, which has no controller attributes: the attributes of the component are only checked by the sub-request issued for each action. With an empty actions list, no sub-request was issued, and the hydrated component was rendered and returned with a 200.

The caller needs a valid signed props payload for the component, such as the data-live-props-value of a page that rendered it: one the caller could see before losing access, or a cached or shared page. The checksum binds the props to the component name, not to a user, a session or a time, so such a payload can be replayed. Actions are not affected, since each action of a non-empty batch is still checked in its own sub-request. Components that load data from their props, like an entity identifier, disclose that data to the caller.

BatchActionController now rejects a batch without any action with a BadRequestHttpException. The JavaScript client never sends such a request: it uses the URL of the component when there is no action, /{action} for a single one and /batch for two or more.

First published (updated )

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203