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.

Severity (CVSS 4.0)5.1Medium
Exploit odds (30 days)0.3%top 76.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Packagistbackpack/crud5.0.13GHSA-m8xx-3x29-84h8
Packagistbackpack/crud4.1.69GHSA-m8xx-3x29-84h8
Packagistbackpack/crud4.0.63GHSA-m8xx-3x29-84h8

Affected products (as reported)

VendorProductVersions
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