PT-2026-45950 · Composer · Backpack Crud
CVE-2022-31114
·
Published
2026-06-03
·
Updated
2026-06-04
CVSS v4.0
5.1
Medium
| Vector | AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
Name of the Vulnerable Software and Affected Versions
backpack/crud versions prior to 5.0.13
backpack/crud versions prior to 4.1.69
backpack/crud versions prior to 4.0.63
Description
Reflected Cross-Site Scripting (XSS) occurs because error views output the exception message without escaping it. An attacker could conduct a targeted phishing campaign to trick users or administrators into clicking a malicious link, which under specific circumstances could lead to information disclosure or unauthorized administrative access.
Recommendations
For versions prior to 5.0.13, 4.1.69, and 4.0.63, update the package via
composer update backpack/crud and run the php artisan backpack:fix command to patch published error views.
As a temporary workaround, manually edit error views in resources/views/errors to output e($exception->getMessage()) instead of $exception->getMessage().Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Backpack Crud