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

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 23% of CVEs (2026-12-01)
- Published: 2026-08-20T18:38:50.000Z
- Modified: 2026-09-30T17:51:56.193Z
- Also known as: GHSA-mmg4-322v-6jvc
- Weaknesses: CWE-79, CWE-1023
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Laravel-Backpack CRUD: >= 6.0.0, < 6.8.14; >= 7.0.0, < 7.0.38
- backpack/crud (Packagist): from 6.0.0 before 6.8.14; from 7.0.0 before 7.0.38

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `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> (web)
- <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> (web)
- <https://github.com/Laravel-Backpack/CRUD/releases/tag/7.0.38> (web)
- <https://github.com/Laravel-Backpack/CRUD> (package)

## Sources

- CVE List: [CVE-2026-54181](https://www.cve.org/CVERecord?id=CVE-2026-54181), CVE Terms of Use, modified 2026-09-14
- GitHub Advisory Database: [GHSA-mmg4-322v-6jvc](https://github.com/advisories/GHSA-mmg4-322v-6jvc), CC-BY-4.0, modified 2026-08-20
- NVD: [CVE-2026-54181](https://nvd.nist.gov/vuln/detail/CVE-2026-54181), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-54181 · Whole record: https://cve.day/CVE-2026-54181.json · Rebuilt by cve.day 2026-11-25T22:59:38.329Z
