p PatchFirst

CVE-2026-54087

CVE-2026-54087 · EasyAdmin: Stored Cross-Site Scripting (XSS) via uploaded files served inline in FileField and ImageField

This page contains facts from public vulnerability sources. Check the original advisory before updating.

EasyAdmin is a fast and modern admin generator for Symfony applications. From 5.0.0 until 5.0.13, FileField and ImageField can accept browser-executable uploads while templates/crud/field/file.html.twig links to stored files for inline same-origin rendering without a download attribute or Content-Disposition attachment header. When uploads are stored under the public web root, an attacker with access to an affected form can upload HTML through FileField or SVG through ImageField, and JavaScript executes in an authenticated administrator's origin when the file is opened from the backend. Exploitation requires a privilege gap between the uploader and viewer. The issue can expose session or CSRF tokens and enable privilege escalation, but does not permit PHP or PHTML code execution because Symfony guessExtension does not produce those stored extensions. This issue is fixed in version 5.0.13.

CVSS 7.6 · High · EPSS 0.4% · Fix available

Published
Updated

Stack: php

Affected products and versions

  • easyadminbundle

    Versions
    • >= 5.0.0, < 5.0.13: Affected

    No fix published

  • easycorp/easyadmin-bundle Packagist

    Versions
    • v5.0.0
    • v5.0.1
    • v5.0.10
    • v5.0.11
    • v5.0.12
    • v5.0.2
    • v5.0.3
    • v5.0.4
    • v5.0.5
    • v5.0.6
    • v5.0.7
    • v5.0.8
    • v5.0.9
    Affected ranges
    • ECOSYSTEM: ≥ 5.0.0, < 5.0.13

    Update to 5.0.13

Original sources

Check your server →