EasyAdmin: Stored Cross-Site Scripting (XSS) via uploaded files served inline in FileField and ImageField
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-54087
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 20:31 UTC · Revision 1
Source evidence
EasyAdmin: Stored Cross-Site Scripting (XSS) via uploaded files served inline in FileField and ImageField
core-osv · Original sourcePublished 14 Sept 2026, 17:13 UTC
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.
osv:CVE-2026-54087
Complete source record
{
"id": "45b18a7d9713083a17a7b8aca3e5ea7473f313f9e618ee21fc4d3e2f2b5bfdf9",
"url": "https://osv.dev/vulnerability/CVE-2026-54087",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "EasyAdmin: Stored Cross-Site Scripting (XSS) via uploaded files served inline in FileField and ImageField",
"summary": "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.",
"evidence": "osv:CVE-2026-54087",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-54087",
"aliases": [
"CVE-2026-54087",
"GHSA-8559-gwj3-q37r"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/easycorp/easyadminbundle",
"type": "GIT",
"events": [
{
"introduced": "e2134a0d1e90245790ac131276bb283077e40562"
},
{
"fixed": "11b06ef648b6d5fccb3e62ccd8f67f59534e006a"
},
{
"fixed": "8132b2b0ca3876c9261264fa267106a1b2c10a68"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "5.0.0"
},
{
"fixed": "5.0.13"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "8132b2b0ca3876c9261264fa267106a1b2c10a68"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "11b06ef648b6d5fccb3e62ccd8f67f59534e006a"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v5.0.13"
}
]
}
}
],
"versions": [
"v5.0.12",
"v5.0.11",
"v5.0.10",
"v5.0.9",
"v5.0.8",
"v5.0.7",
"v5.0.6",
"v5.0.5",
"v5.0.4",
"v5.0.3",
"v5.0.2",
"v5.0.1",
"v5.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54087.json"
}
}
],
"modified": "2026-10-28T02:30:51.741724967Z",
"provider": "osv",
"references": [
"https://github.com/EasyCorp/EasyAdminBundle/releases/tag/v5.0.13",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54087.json",
"https://github.com/EasyCorp/EasyAdminBundle/security/advisories/GHSA-8559-gwj3-q37r",
"https://nvd.nist.gov/vuln/detail/CVE-2026-54087",
"https://github.com/EasyCorp/EasyAdminBundle/commit/8132b2b0ca3876c9261264fa267106a1b2c10a68"
],
"provider_metadata": {
"cwe_ids": [
"CWE-434",
"CWE-79"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54087.json"
}
},
"related_cves": [
{
"value": "CVE-2026-54087",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 520324,
"published_at": "2026-09-14T17:13:25.23+00:00"
}