{"id":"CVE-2026-54181","state":"PUBLISHED","title":"backpack/crud: Stored XSS in the color column — the `@if($column['escaped'])` branches are inverted","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.","publishedAt":"2026-09-14T17:55:45.275Z","updatedAt":"2026-09-14T20:05:31.606Z","severity":{"score":5.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["Laravel-Backpack CRUD"],"affected":[{"vendor":"Laravel-Backpack","product":"CRUD","versions":[{"version":">= 6.0.0, < 6.8.14","status":"affected"},{"version":">= 7.0.0, < 7.0.38","status":"affected"}]}],"references":["https://github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-mmg4-322v-6jvc","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","https://github.com/Laravel-Backpack/CRUD/releases/tag/7.0.38"],"weaknesses":["CWE-79","CWE-1023"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/54xxx/CVE-2026-54181.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-54181","state":"PUBLISHED","datePublished":"2026-09-14T17:55:45.275Z","dateUpdated":"2026-09-14T20:05:31.606Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-11T21:46:52.382Z"},"containers":{"cna":{"title":"backpack/crud: Stored XSS in the color column — the `@if($column['escaped'])` branches are inverted","descriptions":[{"lang":"en","value":"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":[{"vendor":"Laravel-Backpack","product":"CRUD","versions":[{"version":">= 6.0.0, < 6.8.14","status":"affected"},{"version":">= 7.0.0, < 7.0.38","status":"affected"}]}],"references":[{"url":"https://github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-mmg4-322v-6jvc","name":"https://github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-mmg4-322v-6jvc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Laravel-Backpack/CRUD/pull/5992","name":"https://github.com/Laravel-Backpack/CRUD/pull/5992","tags":["x_refsource_MISC"]},{"url":"https://github.com/Laravel-Backpack/CRUD/pull/5994","name":"https://github.com/Laravel-Backpack/CRUD/pull/5994","tags":["x_refsource_MISC"]},{"url":"https://github.com/Laravel-Backpack/CRUD/commit/608652b1020ba274781f222d2959d7780a559a08","name":"https://github.com/Laravel-Backpack/CRUD/commit/608652b1020ba274781f222d2959d7780a559a08","tags":["x_refsource_MISC"]},{"url":"https://github.com/Laravel-Backpack/CRUD/commit/76c3a6e50e3fbd6d5f633208da5b04acb8322969","name":"https://github.com/Laravel-Backpack/CRUD/commit/76c3a6e50e3fbd6d5f633208da5b04acb8322969","tags":["x_refsource_MISC"]},{"url":"https://github.com/Laravel-Backpack/CRUD/releases/tag/6.8.14","name":"https://github.com/Laravel-Backpack/CRUD/releases/tag/6.8.14","tags":["x_refsource_MISC"]},{"url":"https://github.com/Laravel-Backpack/CRUD/releases/tag/7.0.38","name":"https://github.com/Laravel-Backpack/CRUD/releases/tag/7.0.38","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-1023","lang":"en","description":"CWE-1023: Incomplete Comparison with Missing Factors","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-14T17:55:45.275Z"},"source":{"advisory":"GHSA-mmg4-322v-6jvc","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-14T19:20:42.379442Z","id":"CVE-2026-54181","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-14T20:05:31.606Z"}}]}}}