Vulnerability · Published Sep 14, 2026 · Assigned by GitHub_M
CVE-2026-54181backpack/crud: Stored XSS in the color column — the `@if($column['escaped'])` branches are inverted
Medium 5.4
In plain English
A medium-severity cross-site scripting in CRUD from Laravel-Backpack. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 24% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | backpack/crud | 6.8.14 | GHSA-mmg4-322v-6jvc |
| Packagist | backpack/crud | 7.0.38 | GHSA-mmg4-322v-6jvc |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Laravel-Backpack | CRUD | >= 6.0.0, < 6.8.14>= 7.0.0, < 7.0.38 |
Weakness: CWE-79, CWE-1023 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
References
- https://github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-mmg4-322v-6jvc x_refsource_CONFIRM
- https://github.com/Laravel-Backpack/CRUD/pull/5992 x_refsource_MISC
- https://github.com/Laravel-Backpack/CRUD/pull/5994 x_refsource_MISC
- https://github.com/Laravel-Backpack/CRUD/commit/608652b1020ba274781f222d2959d7780a559a08 x_refsource_MISC
- https://github.com/Laravel-Backpack/CRUD/commit/76c3a6e50e3fbd6d5f633208da5b04acb8322969 x_refsource_MISC
- https://github.com/Laravel-Backpack/CRUD/releases/tag/6.8.14 x_refsource_MISC
- https://github.com/Laravel-Backpack/CRUD/releases/tag/7.0.38 x_refsource_MISC