CVE-2026-54181
backpack/crud: Stored XSS in the color column — the `@if($column['escaped'])` branches are inverted
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVDNVD · Deferred | 3.1 | Medium5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.31% · top 76% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.4.
Weakness
Affected products
- affected >= 6.0.0, < 6.8.14
- affected >= 7.0.0, < 7.0.38
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Packagistbackpack/crudGHSA-mmg4-322v-6jvc (opens in a new tab)
References (7)
- https://github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-mmg4-322v-6jvc (opens in a new tab)x_refsource_CONFIRM
- https://github.com/Laravel-Backpack/CRUD/pull/5992 (opens in a new tab)x_refsource_MISC
- https://github.com/Laravel-Backpack/CRUD/pull/5994 (opens in a new tab)x_refsource_MISC
- https://github.com/Laravel-Backpack/CRUD/commit/608652b1020ba274781f222d2959d7780a559a08 (opens in a new tab)x_refsource_MISC
- https://github.com/Laravel-Backpack/CRUD/commit/76c3a6e50e3fbd6d5f633208da5b04acb8322969 (opens in a new tab)x_refsource_MISC
- https://github.com/Laravel-Backpack/CRUD/releases/tag/6.8.14 (opens in a new tab)x_refsource_MISC
- https://github.com/Laravel-Backpack/CRUD/releases/tag/7.0.38 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-mmg4-322v-6jvc (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2026-54181)Record last updated .