Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate with low-privilege account
-
DeliverySubmit XSS payload as color column value
-
ExploitPayload persisted unescaped to database
-
InstallAdmin loads CRUD list view
-
C2Template renders raw `{!! !!}` output
-
ExecuteInjected script executes in admin browser
-
ImpactSession 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 |
| 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 |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
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.
Primary rating from Vendor (https://github.com/Laravel-Backpack/CRUD).
CVSS VectorVendor: https://github.com/Laravel-Backpack/CRUD
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
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
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
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
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
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
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
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-77720
GHSA-mmg4-322v-6jvc
NVD
CVE.org
EPSS
Exploit-DB