CVE-2022-31114Laravel-Backpack CRUD
Medium 5.1 No auth needed
Follow: this CVE · Laravel-Backpack · Laravel-Backpack CRUD We alert you by email or Slack (account required).
- Priority
- 46
- CVSS 4.0
- 5.1
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 30
- Auth required
- No
- Published
- Jun 3, 2026
- Updated
- Jul 21, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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()`.
What to do
- Apply the vendor's security update for CRUD.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | backpack/crud |
≥ 5.0.0 < 5.0.13 |
5.0.13 |
composer require "backpack/crud:^5.0.13" |
| Packagist | backpack/crud |
≥ 4.1.0 < 4.1.69 |
4.1.69 |
composer require "backpack/crud:^4.1.69" |
| Packagist | backpack/crud |
< 4.0.63 |
4.0.63 |
composer require "backpack/crud:^4.0.63" |
Per OSV / GitHub Advisories (GHSA-m8xx-3x29-84h8). Check the version in your lockfile before upgrading.
Affected products
- Laravel-Backpack · CRUD
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.