{"id":"CVE-2026-49208","aliases":["GHSA-89g7-22c8-3j23"],"url":"https://o3.security/vulnerability/CVE-2026-49208","summary":"Symfony UX: Format-less date LiveProps parsed with the permissive DateTime constructor","details":"### Description\n\nWhen a `#[LiveProp]` is typed as a `DateTimeInterface` and no explicit `format` is configured, `Symfony\\UX\\LiveComponent\\LiveComponentHydrator::hydrateObjectValue()` falls back to `new $className($value)`. The `DateTime` / `DateTimeImmutable` constructors accept relative strings such as `\"now\"`, `\"tomorrow\"`, or `\"+10 years\"`, so a writable, format-less date prop can be pushed to an arbitrary point in time by the client. Components that rely on a date prop to gate time-based business logic can be moved past those checks by a frontend payload that no maintainer would consider a valid date.\n\n### Resolution\n\n`hydrateObjectValue()` now parses format-less date props strictly with `createFromFormat(DateTimeInterface::RFC3339, ...)`, matching the format already emitted by `dehydrateObjectValue()`. Normal round-trips are unaffected; only inputs that aren't valid RFC 3339 are now rejected, which is consistent with how a format-configured prop already behaved.\n\nThe patch for this issue is available [here](https://github.com/symfony/ux/commit/d24d78fda6df2d5964312255943ebf3a217b79a2) for branch 2.x (and forward-ported to 3.x).\n\n### Credits\n\nSymfony would like to thank Pascal Cescon for reporting the issue and Hugo Alliaume for providing the fix.","published":"2026-07-17T16:10:49.101Z","modified":"2026-10-28T02:30:50.734823969Z","cvss":null,"epss":{"score":0.00412,"percentile":0.34658,"asOf":"2026-09-13"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"symfony/ux-live-component","fixedVersion":"2.36.0"},{"ecosystem":"Packagist","name":"symfony/ux-live-component","fixedVersion":"3.1.0"}],"fix":{"url":"https://github.com/symfony/ux/commit/d24d78fda6df2d5964312255943ebf3a217b79a2","label":"symfony/ux@d24d78f"},"references":[{"type":"WEB","url":"https://github.com/symfony/ux/releases/tag/v2.36.0"},{"type":"WEB","url":"https://github.com/symfony/ux/releases/tag/v3.1.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49208.json"},{"type":"ADVISORY","url":"https://github.com/symfony/ux/security/advisories/GHSA-89g7-22c8-3j23"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49208"},{"type":"FIX","url":"https://github.com/symfony/ux/commit/d24d78fda6df2d5964312255943ebf3a217b79a2"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/ux-live-component/CVE-2026-49208.yaml"},{"type":"PACKAGE","url":"https://github.com/symfony/ux"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:30:50.734823969Z"}}