CVE-2022-31114 PUBLISHED

backpack/crud Vulnerable to Cross-site Scripting

Assigner: GitHub_M
Reserved: 18.05.2022 Published: 03.06.2026 Updated: 03.06.2026

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().

Metrics

CVSS 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
CVSS Score: 5.1

Product Status

Vendor Laravel-Backpack
Product CRUD
Versions
  • Version >= 5.0.0, < 5.0.13 is affected
  • Version >= 4.0.0, < 4.1.69 is affected
  • Version < 4.0.63 is affected

References

Problem Types

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') CWE