CVE-2022-31114 Details
Description
backpack/crud provides Create, Read, Update & Delete (CRUD) functions for Backpack, a collection of Laravel packages that help users build custom administration panels. Versions prior to 5.0.13, 4.1.69, and 4.0.63 are vulnerable to cross-site scripting. An attacker could conduct a targeted phishing campaign, in order to trick users or admins into clicking a malicious link, which under very specific circumstances could give them information or possibly admin access. Versions 5.0.13, 4.1.69, and 4.0.63 patch the issue. As a workaround, manually look inside error views in `resources/views/errors` and output `e($exception->getMessage())` instead of `$exception->getMessage()`.
A cross-site scripting vulnerability has been identified in Backpack CRUD versions prior to 5.0.13, 4.1.69, and 4.0.63. This issue arises because error messages are not properly escaped, allowing attackers to inject malicious scripts. Under specific circumstances, this could be exploited to conduct phishing attacks, potentially leading to unauthorized access or information disclosure, especially in an admin panel context.
Users can update to Backpack CRUD versions 5.0.13, 4.1.69, or 4.0.63. After updating, it's important to run the 'php artisan backpack:fix' command to patch any published error views. If preferred, the update can be skipped by manually editing error views to escape exception messages.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 3, 2026CISA-ADP
Assessed Jun 3, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-m8xx-3x29-84h8 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Backpack CRUD | < 5.0.13 (semver) < 4.1.69 (semver) < 4.0.63 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 21, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 3, 2026 | New CVE Received | [email protected] |
Volerion