Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. symfony/ux-live-component
  4. ›
  5. CVE-2026-49208

CVE-2026-49208: ux-live-component: Format-less date LiveProps parsed with the permissive DateTime constructor

June 19, 2026

When 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.

References

  • github.com/FriendsOfPHP/security-advisories/blob/master/symfony/ux-live-component/CVE-2026-49208.yaml
  • github.com/advisories/GHSA-89g7-22c8-3j23
  • github.com/symfony/ux/commit/d24d78fda6df2d5964312255943ebf3a217b79a2
  • github.com/symfony/ux/security/advisories/GHSA-89g7-22c8-3j23
  • nvd.nist.gov/vuln/detail/CVE-2026-49208

Code Behaviors & Features

Detect and mitigate CVE-2026-49208 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.8.0 before 2.36.0, all versions starting from 3.0.0 before 3.1.0

Fixed versions

  • 2.36.0
  • 3.1.0

Solution

Upgrade to versions 2.36.0, 3.1.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

packagist/symfony/ux-live-component/CVE-2026-49208.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 20 Jun 2026 12:17:39 +0000.