GHSA-2WWR-9X6F-88GP is a medium-severity path traversal vulnerability in easycorp/easyadmin-bundle (composer), affecting versions >= 4.0.0, < 4.29.10. It is fixed in 4.29.10, 5.0.10.
EasyAdminBundle ships two public Twig components, <twig:ea:Flag countryCode="..."> and <twig:ea:Icon name="...">, that load SVG files from disk using a path built directly from a public component property, and then render the resulting markup with the Twig |raw filter. When an application binds either of those properties to data that is influenced by an end user, the lack of validation on the property value leads to two distinct issues: Arbitrary .svg file disclosure (both components), the property value is concatenated into a filesystem path without normalizing or constraining it, so .. segments are preserved and resolved by PHP. Any file on the server whose absolute path ends in .svg (for example, user-uploaded SVG icons stored elsewhere on the host) can be read and embedded into the rendered page. Reflected XSS in the admin UI (Flag component only), when the requested flag file does not exist, the Flag component falls back to a hard-coded SVG string that interpolates the raw countryCode value twice, and the parent template renders that string with |raw. An attacker who controls countryCode can therefore inject arbitrary HTML/JavaScript that will execute inside the authenticated admin context that rendered the component. The first-party usage shipped by EasyAdminBundle itself is not affected: the bundle only passes ISO 3166 alpha-2 codes validated through Symfony\Component\Intl\Countries to the Flag component, and only hard-coded internal:.. names or values previously set in PHP via MenuItem::setIcon() to the Icon component. The vulnerability is reachable only in third-party templates that pass attacker-controlled data into these properties. Impact Path traversal is information disclosure bounded by the .svg extension; reflected XSS in Flag runs in the admin context and is therefore more sensitive but requires a vulnerable template wiring and user interaction. Affected components EasyCorp\Bundle\EasyAdminBundle\Twig\Component\Flag, public Twig tag <twig:ea:Flag>, property countryCode. EasyCorp\Bundle\EasyAdminBundle\Twig\Component\Icon, public Twig tag <twig:ea:Icon>, property name when the value starts with the internal: prefix. Credit EasyAdmin would like to thank Claude Mythos Preview (via Project Glasswing and The PHP Foundation) for reporting the issue and providing the fix.
Input manipulates file paths to reach files outside the intended directory, such as configuration or credential files. Typical impact: unauthorized file read or write outside the intended directory.
GHSA-2WWR-9X6F-88GP has a CVSS score of 5.3 (Medium). The vector is network-reachable, no privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment.
A fixed version is available (4.29.10, 5.0.10). Upgrading removes the vulnerable code path.
composer
easycorp/easyadmin-bundle (>= 4.0.0, < 4.29.10)easycorp/easyadmin-bundle (>= 5.0.0, < 5.0.10)easycorp/easyadmin-bundle → 4.29.10 (composer)easycorp/easyadmin-bundle → 5.0.10 (composer)Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.
Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter instead of chasing every advisory.
Kodem's runtime-powered SCA identifies whether GHSA-2WWR-9X6F-88GP is reachable in your applications. Explore open-source security for your team.
See if GHSA-2WWR-9X6F-88GP is reachable in your applications. Get a demo
Already deployed Kodem? See GHSA-2WWR-9X6F-88GP in your environment →Upgrade the following packages to resolve this vulnerability:
easycorp/easyadmin-bundle to 4.29.10 or latereasycorp/easyadmin-bundle to 5.0.10 or laterKodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.
GHSA-2WWR-9X6F-88GP is a medium-severity path traversal vulnerability in easycorp/easyadmin-bundle (composer), affecting versions >= 4.0.0, < 4.29.10. It is fixed in 4.29.10, 5.0.10. Input manipulates file paths to reach files outside the intended directory, such as configuration or credential files.
GHSA-2WWR-9X6F-88GP has a CVSS score of 5.3 (Medium). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
easycorp/easyadmin-bundle (composer) versions >= 4.0.0, < 4.29.10 is affected.
Yes. GHSA-2WWR-9X6F-88GP is fixed in 4.29.10, 5.0.10. Upgrade to this version or later.
Whether GHSA-2WWR-9X6F-88GP is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
easycorp/easyadmin-bundle to 4.29.10 or latereasycorp/easyadmin-bundle to 5.0.10 or later