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
Mitigation
- Upgrade backpack/crud to one of 6.8.14, 7.0.38 (or later in the same release line).
Who should check
- Projects that depend on Packagist package backpack/crud (>= 6.0.0, < 6.8.14)
- Anyone running Laravel-Backpack CRUD >= 6.0.0, < 6.8.14; >= 7.0.0, < 7.0.38
Vulnerability facts
- Affected
- backpack/crud >= 6.0.0, < 6.8.14
- Fixed in
- 6.8.14, 7.0.38
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 5.4 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 17, 2026-11-26)
- CWE
- CWE-79, CWE-1023
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist backpack/crud | >= 6.0.0, < 6.8.14 | 6.8.14, 7.0.38 | osv |
| Laravel-Backpack CRUD | >= 6.0.0, < 6.8.14; >= 7.0.0, < 7.0.38 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-54181. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-54181.md Affected: backpack/crud >= 6.0.0, < 6.8.14 Fixed in: 6.8.14, 7.0.38 Steps: 1. Search this machine and project for backpack/crud (Packagist), Laravel-Backpack CRUD: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2026-54181 being exploited?
There is no confirmed exploitation: CVE-2026-54181 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-54181?
Medium: CVSS 5.4 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2026-54181?
backpack/crud >= 6.0.0, < 6.8.14.
Is there a fix for CVE-2026-54181?
Yes. Fixed in 6.8.14, 7.0.38. Upgrade backpack/crud to one of 6.8.14, 7.0.38 (or later in the same release line).
How do I check if I'm affected by CVE-2026-54181?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.