Medium

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

  • Disclosed: 19.06.2026
  • Updated: 11.10.2026 10:22

Description

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.

Resolution

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.

The patch for this issue is available here for branch 2.x (and forward-ported to 3.x).

Credits

Symfony would like to thank Pascal Cescon for reporting the issue and Hugo Alliaume for providing the fix.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package symfony/ux-live-component >= 2.8.0, < 2.36.0, >= 3.0.0, < 3.1.0 2.36.0, 3.1.0

References

CVSS score -
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Weakness (CWE)
CWE-20
Platform
Composer
Package
symfony/ux-live-component
Disclosed
19.06.2026
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-89g7-22c8-3j23 - CC BY 4.0

Vulnerability history: symfony/ux-live-component

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
6
First → latest
05.2025 06.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Medium 3
  • Low 3

Disclosures per year

  1. 2025: 1
  2. 2026: 5
  1. Low CVE-2026-49215 >= 2.22.0, < 2.36.0, >= 3.0.0, < 3.1.0 2.36.0, 3.1.0
  2. Low CVE-2026-49212 >= 2.8.0, < 2.36.0, >= 3.0.0, < 3.1.0 2.36.0, 3.1.0
  3. Medium CVE-2026-49210 >= 2.8.0, < 2.36.0, >= 3.0.0, < 3.1.0 2.36.0, 3.1.0
  4. Low CVE-2026-49209 >= 2.5.0, < 2.36.0, >= 3.0.0, < 3.1.0 2.36.0, 3.1.0
  5. ux-live-component: Format-less date LiveProps parsed with the permissive DateTime constructor this entry
    Medium CVE-2026-49208 >= 2.8.0, < 2.36.0, >= 3.0.0, < 3.1.0 2.36.0, 3.1.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.