Vulnerability · Published Jun 3, 2026 · Assigned by GitHub_M
CVE-2022-31114backpack/crud Vulnerable to Cross-site Scripting
Medium 5.1
In plain English
A medium-severity cross-site scripting in CRUD from Laravel-Backpack. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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()`.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | backpack/crud | 5.0.13 | GHSA-m8xx-3x29-84h8 |
| Packagist | backpack/crud | 4.1.69 | GHSA-m8xx-3x29-84h8 |
| Packagist | backpack/crud | 4.0.63 | GHSA-m8xx-3x29-84h8 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Laravel-Backpack | CRUD | >= 5.0.0, < 5.0.13>= 4.0.0, < 4.1.69< 4.0.63 |
Weakness: CWE-79 · 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
References
- https://github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-m8xx-3x29-84h8 x_refsource_CONFIRM