Symfony UX is a JavaScript ecosystem for Symfony. From 2.8.0 until 2.36.0 and 3.1.0, Symfony\UX\LiveComponent\Util\ChildComponentPartialRenderer::createHtml() interpolates the client-controlled children[id].tag value from LiveComponentSubscriber and InterceptChildComponentRenderSubscriber directly into HTML as a tag name without escaping or validation, allowing arbitrary HTML, including <script> tags, on any Live Component re-render that contains at least one child component. This issue is fixed in versions 2.36.0 and 3.1.0.
Symfony UX is a JavaScript ecosystem for Symfony. From 2.8.0 until 2.36.0 and 3.1.0, the HMAC computed by Symfony\UX\LiveComponent\LiveComponentHydrator covered only sorted prop key/value pairs and did not include the component name, the slot identifier (props vs propsFromParent), or request context, allowing a signed blob minted for one component or slot to be replayed in another and set a read-only prop on a target component. This issue is fixed in versions 2.36.0 and 3.1.0.
Symfony UX is a JavaScript ecosystem for Symfony. From 2.5.0 until 2.36.0 and 3.1.0, Symfony\UX\LiveComponent\Controller\BatchActionController::__invoke() iterates over the client-supplied actions array and issues a full HttpKernel sub-request for each entry; because the array size is never bounded, an authenticated client can submit a single _batch request containing thousands of actions and exhaust CPU, memory, and database connections on the application server. This issue is fixed in versions 2.36.0 and 3.1.0.
Symfony Polyfill's symfony/polyfill-intl-idn component versions from 1.17.1 up to but not including 1.38.1 improperly validate certain domain name labels. Specifically, it accepts xn-- labels with empty or ASCII-only Punycode payloads, violating the UTS #46 standard that requires at least one non-ASCII code point. This flaw can cause originally distinct domain names to be treated as equivalent, potentially enabling blacklist bypass, inconsistent URL parsing, and server-side request forgery in applications relying on this polyfill for hostname canonicalization or comparison. The issue is resolved starting with version 1.38.1.
Symfony UX is a JavaScript ecosystem for Symfony. From 2.17.0 before 2.36.1 and from 3.0.0 before 3.2.0, the ux_icon() Twig function is marked is_safe=['html'] and Icon::toHtml() inlines SVG source verbatim, allowing unsanitized local SVG files or Iconify on-demand JSON body responses containing nested script elements, on* event handlers, or dangerous URL schemes to execute cross-site scripting. This issue is fixed in versions 2.36.1 and 3.2.0.
Symfony UX is a JavaScript ecosystem for Symfony. From 2.32.0 before 2.36.1 and from 3.0.0 before 3.2.0, the ux:install console command installs files from a recipe kit by copying paths listed in a copy-files map, and because Path::isRelative() accepts paths like ../../../etc, a crafted or compromised kit can write attacker-controlled content to arbitrary locations or read local files outside the recipe directory. This issue is fixed in versions 2.36.1 and 3.2.0.
CVE-2024-50343 is an improper input validation vulnerability in the symfony/validator component of the Symfony PHP framework. The issue allows bypassing a Validator configured with regular expressions using the $ metacharacter when the input ends with a newline character. This flaw affects versions prior to 5.4.43, 6.4.11, and 7.1.4. The vulnerability has been fixed by introducing the D regex modifier to ensure the entire input is matched. There are no known workarounds, and users are advised to upgrade to the fixed versions.
CVE-2024-50345 is an open redirect vulnerability in the symfony/http-foundation module of the Symfony PHP framework. The Request class does not parse URIs with special characters the same way browsers do, allowing attackers to bypass validators and redirect users to arbitrary domains. This issue has been fixed in symfony versions 5.4.46, 6.4.14, and 7.1.7. Users should upgrade to these versions or later to mitigate the vulnerability. No workarounds are known.