Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. backpack/crud
  4. ›
  5. CVE-2026-54181

CVE-2026-54181: Laravel Backpack CRUD: Stored XSS in the color column — the `@if($column['escaped'])` branches are inverted

August 20, 2026

The Blade template for the color column type (src/resources/views/crud/columns/color.blade.php) has its escaped/unescaped rendering branches inverted relative to every other column template in the library. Because $column['escaped'] defaults to true, values stored in color columns are rendered unescaped by default, enabling Stored XSS if column values are not validated before storage.

References

  • github.com/Laravel-Backpack/CRUD/releases/tag/6.8.14
  • github.com/Laravel-Backpack/CRUD/releases/tag/7.0.38
  • github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-mmg4-322v-6jvc
  • github.com/advisories/GHSA-mmg4-322v-6jvc
  • nvd.nist.gov/vuln/detail/CVE-2026-54181

Code Behaviors & Features

Detect and mitigate CVE-2026-54181 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 6.0.0 before 6.8.14, all versions starting from 7.0.0 before 7.0.38

Fixed versions

  • 6.8.14
  • 7.0.38

Solution

Upgrade to versions 6.8.14, 7.0.38 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-1023: Incomplete Comparison with Missing Factors
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/backpack/crud/CVE-2026-54181.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:20:34 +0000.