CVE Catalog

CVE-2026-54181

MediumCVSS 5.4
Published: Updated: Translated: NVD NIST

Summary

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.

Risk Assessment

This can lead to session compromise of the viewing user, including an administrator, through script execution in their browser. Exploitation requires write access to the stored color value and a victim viewing the list.

Recommendation

Upgrade backpack/crud to versions 6.8.14 or 7.0.38. Until patched, consider restricting who can write color column values to trusted users.

Other vulnerabilities in backpack/crud

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS