backpack/crud: Stored XSS in the color column — the `@if($column['escaped'])` branches are inverted
Summary
| CVE | CVE-2026-54181 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-14 18:17:53 UTC |
| Updated | 2026-09-14 20:16:45 UTC |
| 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.38, src/resources/views/crud/columns/color.blade.php inverts the escaped and raw rendering branches controlled by $column['escaped'], which defaults to true, causing $column['text'] to be rendered unescaped by default. An attacker who can store an unsanitized value in a color column can execute script in the browser of a user who views the CRUD list, including an administrator, with access to the victim's session-backed application capabilities. Exploitation requires write access to the stored color value and a victim viewing the list. This issue is fixed in versions 6.8.14 and 7.0.38. |
Risk And Classification
Primary CVSS: v3.1 5.4 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Problem Types: CWE-79 | CWE-1023 | CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | CWE-1023 CWE-1023: Incomplete Comparison with Missing Factors
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 5.4 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 5.4 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
RequiredScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Laravel-Backpack | CRUD | affected >= 6.0.0, < 6.8.14 | Not specified |
| CNA | Laravel-Backpack | CRUD | affected >= 7.0.0, < 7.0.38 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-mmg4-322v-6jvc | [email protected] | github.com | |
| github.com/Laravel-Backpack/CRUD/pull/5994 | [email protected] | github.com | |
| github.com/Laravel-Backpack/CRUD/commit/76c3a6e50e3fbd6d5f633208da5b04ac... | [email protected] | github.com | |
| github.com/Laravel-Backpack/CRUD/releases/tag/7.0.38 | [email protected] | github.com | |
| github.com/Laravel-Backpack/CRUD/commit/608652b1020ba274781f222d2959d778... | [email protected] | github.com | |
| github.com/Laravel-Backpack/CRUD/releases/tag/6.8.14 | [email protected] | github.com | |
| github.com/Laravel-Backpack/CRUD/pull/5992 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.