{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-54179","id":"CVE-2026-54179","title":"backpack/crud: SingleBase64Image accepts any base64 payload behind a `data:image` prefix — SVG-with-script lands on the public disk","description":"backpack/crud provides Create, Read, Update & Delete (CRUD) functions for Backpack, a collection of Laravel packages that help users build custom administration panels. From 6.0.0 until 6.8.14 and 7.0.37, the src/app/Library/Uploaders/SingleBase64Image.php methods SingleBase64Image::uploadFiles and SingleBase64Image::uploadRepeatableFiles, used by image fields through withFiles(), accept any data ","descriptionLong":"backpack/crud provides Create, Read, Update & Delete (CRUD) functions for Backpack, a collection of Laravel packages that help users build custom administration panels. From 6.0.0 until 6.8.14 and 7.0.37, the src/app/Library/Uploaders/SingleBase64Image.php methods SingleBase64Image::uploadFiles and SingleBase64Image::uploadRepeatableFiles, used by image fields through withFiles(), accept any data URI beginning with data:image without validating the declared MIME subtype or decoded bytes, while src/app/Library/Uploaders/Support/FileNameGenerator.php method FileNameGenerator::getExtensionFromFile applies mime_content_type() to the data URI instead of the decoded content. An authenticated administrator can therefore store arbitrary file content under an extensionless filename on the configured disk, which can cause stored cross-site scripting or other unintended behavior when the file is served and accessed. This issue is fixed in version 7.0.38 and 6.8.14.","published":"2026-08-31T20:09:50.087Z","updated":"2026-10-28T02:31:04.204101622Z","reserved":"2026-06-11T21:46:52.382Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Laravel-Backpack CRUD"],"affectedProducts":[{"vendor":"Laravel-Backpack","product":"CRUD","defaultStatus":null,"versions":[{"version":">= 6.0.0, < 6.8.14","status":"affected"},{"version":">= 7.0.0, < 7.0.38","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"backpack/crud","purl":"pkg:composer/backpack/crud","ranges":[">=6.0.0 <6.8.14",">=7.0.0 <7.0.38"],"fixed":["6.8.14","7.0.38"],"advisory":"GHSA-8hw4-7qjr-3wxg"}],"cwes":["CWE-79","CWE-434"],"aliases":["GHSA-8hw4-7qjr-3wxg"],"references":[{"url":"https://github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-8hw4-7qjr-3wxg","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/Laravel-Backpack/CRUD/pull/5989","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/Laravel-Backpack/CRUD/commit/18b3dc1c607775617f563c41bd1ddb983f11d751","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/Laravel-Backpack/CRUD/releases/tag/6.8.14","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/Laravel-Backpack/CRUD/releases/tag/7.0.38","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54179.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54179","tags":["advisory"]},{"url":"https://github.com/Laravel-Backpack/CRUD","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00261,"epssPercentile":0.18222,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-54179","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54179","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-54179","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-8hw4-7qjr-3wxg","ok":true,"note":"GHSA-8hw4-7qjr-3wxg"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-54179","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":["laravel"],"critical":[],"attention":null}