CVE Catalog

CVE-2022-31114

MediumCVSS 5.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.30%

22th percentile - higher than 22% of all known CVEs

Summary

Cross-site scripting vulnerability in backpack/crud for Laravel. An attacker can conduct a targeted phishing campaign to trick users or admins into clicking a malicious link, which under very specific circumstances could lead to information disclosure or admin access.

Risk Assessment

The risk includes potential credential theft or admin account takeover through social engineering.

Recommendation

Update backpack/crud to version 5.0.13, 4.1.69, or 4.0.63. As a workaround, in error views in `resources/views/errors` use `e($exception->getMessage())` instead of `$exception->getMessage()`.

Other vulnerabilities in backpack/crud

See all
Original NVD description (English source)

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

Vulnerability data from NVD (NIST) · CISA KEV · EPSS