CVE-2022-31114
MEDIUM 5.1CVSS 4.0backpack/crud is vulnerable to Cross-Site Scripting (XSS)
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().
- Published
- 3 Jun 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-79
- Also known as
- GHSA-m8xx-3x29-84h8
- Sources
- NVDJSONOSV GHSA-m8xx-3x29-84h8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 5.1 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | backpack/crud | >= 5.0.0, < 5.0.13 | 5.0.13 |
| OSV | Packagist | backpack/crud | >= 4.1.0, < 4.1.69 | 4.1.69 |
| OSV | Packagist | backpack/crud | < 4.0.63 | 4.0.63 |
References
- https://github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-m8xx-3x29-84h8 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-31114 · ADVISORY
- https://backpackforlaravel.com/articles/news/we-recommend-you-fix-this-vulnerability · WEB
- https://github.com/Laravel-Backpack/CRUD · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 3 Jun 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 3 Jun 2026)