Skip to main content

CVE-2026-54181: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Laravel-Backpack CRUD

0
Medium
VulnerabilityCVE-2026-54181cvecve-2026-54181cwe-79cwe-1023
Published: 09/14/2026 (09/14/2026, 17:55:45 UTC)
Source: CVE Database V5
Vendor/Project: Laravel-Backpack
Product: CRUD

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.

CVSS v3.1

Score 5.4medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected software

Laravel-Backpack

CRUD

Affected versions
>=6.0.0 <6.8.14>=7.0.0 <7.0.38
GitHub Actionsmore threats →ai
laravel-backpack/CRUD
pkg:github/laravel-backpack/CRUD
Affected versions
>=6.0.0 <6.8.14>=7.0.0 <7.0.38

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/14/2026, 18:17:18 UTC

Technical Analysis

Laravel-Backpack CRUD provides administrative panel functions and includes a color column rendering feature. Between versions 6.0.0 and 6.8.14, and 7.0.0 and 7.0.38, the rendering logic in src/resources/views/crud/columns/color.blade.php mistakenly inverts the escaping logic controlled by $column['escaped'], which defaults to true. This causes $column['text'] to be rendered unescaped by default, enabling stored cross-site scripting if an attacker can write unsanitized values to the color column. Exploitation requires the attacker to have write access to the stored value and a victim user to view the affected list. The vulnerability is addressed by correcting the escaping behavior in versions 6.8.14 and 7.0.38.

Potential Impact

An attacker with write access to the color column can inject malicious scripts that execute in the browsers of users viewing the CRUD list, including administrators. This can lead to session hijacking or unauthorized actions within the application context. The CVSS 3.1 base score is 5.4 (medium severity), reflecting network attack vector, low attack complexity, required privileges, user interaction, and partial confidentiality and integrity impact without availability impact.

Mitigation Recommendations

Upgrade Laravel-Backpack CRUD to version 6.8.14 or later in the 6.x series, or 7.0.38 or later in the 7.x series, where the escaping logic has been corrected. No other mitigations are specified or required once patched.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-11T21:46:52.382Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6aa836a955bf5e2cf5684392

Added to database: 09/14/2026, 18:02:17 UTC

Last enriched: 09/14/2026, 18:17:18 UTC

Last updated: 09/14/2026, 21:05:52 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses