{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "6.0.0"
              },
              {
                "fixed": "6.8.14"
              },
              {
                "introduced": "7.0.0"
              },
              {
                "fixed": "7.0.38"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "56c091f2099b6e17a37034e76a1da65f9052e842"
            },
            {
              "introduced": "9abc482607aaaefcd6ee2455bc0a6e603cc1b69f"
            },
            {
              "fixed": "76c3a6e50e3fbd6d5f633208da5b04acb8322969"
            },
            {
              "fixed": "5c5de0af242619d0653c7c70c900cd15b1a197c5"
            },
            {
              "fixed": "608652b1020ba274781f222d2959d7780a559a08"
            }
          ],
          "repo": "https://github.com/laravel-backpack/crud",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-mmg4-322v-6jvc"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-1023",
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54181.json"
  },
  "details": "backpack/crud provides Create, Read, Update \u0026 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.",
  "id": "CVE-2026-54181",
  "modified": "2026-09-16T03:30:36.206177614Z",
  "published": "2026-09-14T17:55:45.275Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/Laravel-Backpack/CRUD/releases/tag/6.8.14"
    },
    {
      "type": "WEB",
      "url": "https://github.com/Laravel-Backpack/CRUD/releases/tag/7.0.38"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54181.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-mmg4-322v-6jvc"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-54181"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Laravel-Backpack/CRUD/commit/608652b1020ba274781f222d2959d7780a559a08"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Laravel-Backpack/CRUD/commit/76c3a6e50e3fbd6d5f633208da5b04acb8322969"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Laravel-Backpack/CRUD/pull/5992"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Laravel-Backpack/CRUD/pull/5994"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "backpack/crud: Stored XSS in the color column — the `@if($column['escaped'])` branches are inverted"
}