CVE-2026-54087
Received Received - Intake

Stored XSS via FileField and ImageField in EasyAdmin Symfony Admin Panel

Vulnerability report for CVE-2026-54087, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-14

Last updated on: 2026-09-14

Assigner: GitHub, Inc.

Description

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-14
Last Modified
2026-09-14
Generated
2026-09-14
AI Q&A
2026-09-14
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
easyadmin easyadmin 5.0.13
easyadmin easyadmin From 5.0.0 (inc) to 5.0.13 (inc)
easycorp easyadminbundle to 5.0.13 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-434 The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a stored Cross-Site Scripting (XSS) vulnerability in EasyAdminBundle affecting versions 5.0.0 to 5.0.13. It allows attackers to upload malicious files like HTML or SVG through FileField or ImageField components. When stored in the public web directory, these files are served inline without proper security headers, enabling JavaScript execution in an authenticated administrator's session when viewed from the backend.

Detection Guidance

Check for uploaded files with dangerous extensions like .html, .svg, .xhtml, or .xml in public web directories. Review EasyAdmin configuration for FileField and ImageField components to ensure risky inline rendering is disabled. Inspect server logs for unusual file uploads or access patterns.

Impact Analysis

An attacker could upload a malicious file and trick an admin into viewing it, leading to session token theft, CSRF token compromise, or privilege escalation. This requires a privilege gap between uploader and viewer and public web directory storage of uploads. PHP or PHTML code execution is not possible due to extension restrictions.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating GDPR's integrity and confidentiality principles or HIPAA's security requirements for protected health information. Exploitation may result in data breaches, requiring breach notification under these regulations.

Mitigation Strategies

Upgrade EasyAdminBundle to version 5.0.13 or later. Ensure FileField and ImageField components enforce download headers for risky file types. Avoid disabling the new protection unless in a fully trusted environment. Review and restrict upload permissions to minimize privilege gaps.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-54087. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart