What’s Vulnerable › Vulnerabilities
CVE-2022-31114: backpack/crud Vulnerable to Cross-site Scripting
- Severity: medium (CVSS 5.1 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-03 · updated 2026-07-21
- Weakness: CWE-79
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 products
- Laravel-Backpack CRUD: from 5.0.0, < 5.0.13; from 4.0.0, < 4.1.69; before 4.0.63
References
Get alerted when CVE-2022-31114 or the next vulnerability affects your stack