Skip to main content
← All vulnerabilities
CVE-2026-54181GHSA-MMG4-322V-6JVC

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.8.14, 7.0.38
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Laravel-Backpack CRUD

    From 6.0.0 · fixed in 6.8.14; From 7.0.0 · fixed in 7.0.38

  • backpack/crudPackagist

    From 6.0.0 · fixed in 6.8.14

  • backpack/crudPackagist

    From 7.0.0 · fixed in 7.0.38

References 7

GitHub · Laravel-Backpack/CRUD