# CVE-2022-31114: backpack/crud Vulnerable to Cross-site Scripting

- Severity: Medium 5.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2026-06-03T14:41:41.395Z
- Modified: 2026-09-10T03:51:09.191Z
- Also known as: GHSA-m8xx-3x29-84h8
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- Laravel-Backpack CRUD: >= 5.0.0, < 5.0.13; >= 4.0.0, < 4.1.69; < 4.0.63
- backpack/crud (Packagist): from 5.0.0 before 5.0.13; from 4.1.0 before 4.1.69; before 4.0.63

## Every score

- GitHub_M: CVSS:4.0 5.1 Medium `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`
- GitHub: CVSS:4.0 Medium `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

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

## Sources

- CVE List: [CVE-2022-31114](https://www.cve.org/CVERecord?id=CVE-2022-31114), CVE Terms of Use, modified 2026-06-03
- GitHub Advisory Database: [GHSA-m8xx-3x29-84h8](https://github.com/advisories/GHSA-m8xx-3x29-84h8), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2022-31114](https://nvd.nist.gov/vuln/detail/CVE-2022-31114), Public domain, modified 2026-07-21

---

Page: https://cve.day/CVE-2022-31114 · Whole record: https://cve.day/CVE-2022-31114.json · Rebuilt by cve.day 2026-11-25T22:58:21.442Z
