medium5.3
CVE-2026-49208
ux-live-component: Format-less date LiveProps parsed with the permissive DateTime constructor
Impact
Symfony UX is a JavaScript ecosystem for Symfony. From 2.8.0 until 2.36.0 and 3.1.0, when a #[LiveProp] is typed as DateTimeInterface and no explicit format is configured, Symfony\UX\LiveComponent\LiveComponentHydrator::hydrateObjectValue() falls back to new $className($value), allowing client-supplied relative strings such as now, tomorrow, or +10 years to move a writable, format-less date prop past time-based business logic checks. This issue is fixed in versions 2.36.0 and 3.1.0.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | symfony/ux-live-component | >= 2.8.0, < 2.36.0 | 2.36.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Symfony | Ux | from 2.8.0 before 2.36.0 Version 3.0.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-89g7-22c8-3j23
- https://github.com/symfony/ux/security/advisories/GHSA-89g7-22c8-3j23
- https://github.com/symfony/ux/commit/d24d78fda6df2d5964312255943ebf3a217b79a2
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/ux-live-component/CVE-2026-49208.yaml
- https://github.com/symfony/ux/releases/tag/v2.36.0
- https://github.com/symfony/ux/releases/tag/v3.1.0