{"id":"CVE-2022-31114","published":"2026-06-03T14:41:41Z","modified":"2026-06-03T16:01:22Z","title":"backpack/crud Vulnerable to Cross-site Scripting","vendor":"Laravel-Backpack","product":"CRUD","tier":"tail","description":{"text":"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()`.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.1,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00444,"percentile":0.30451,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-m8xx-3x29-84h8","tags":["x_refsource_CONFIRM"]}],"priority":{"score":9.7,"factors":[{"name":"EPSS percentile","points":6.09},{"name":"CVSS severity","points":3.57}]},"vendorSlug":"laravel-backpack","affectedVersions":[{"vendor":"Laravel-Backpack","product":"CRUD","versions":[">= 5.0.0, < 5.0.13",">= 4.0.0, < 4.1.69","< 4.0.63"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-03T16:01:14.919643Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"backpack/crud","vulnerableRanges":[">=5.0.0, <5.0.13",">=4.1.0, <4.1.69","<4.0.63"],"patched":["5.0.13","4.1.69","4.0.63"],"from":["GHSA-m8xx-3x29-84h8"],"provenance":"source"}],"summary":{"text":"A cross-site scripting flaw in the CRUD component of Laravel-Backpack's backpack/crud package, which provides create, read, update and delete functions for building Laravel administration panels, affects versions before 5.0.13, 4.1.69 and 4.0.63. An attacker can exploit it by getting a user or admin to click a crafted link in a targeted phishing campaign, which requires user interaction and, under very specific circumstances, could expose information or possibly grant admin access.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:12:23Z"},"euvd":{"id":"EUVD-2022-55999","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2018-20962","published":"2019-08-08","fixed":"3.4.9","kev":false},{"cve":"CVE-2022-31114","published":"2026-06-03","fixed":"5.0.13","kev":false},{"cve":"CVE-2026-54175","published":"2026-09-14","fixed":"7.0.34","kev":false},{"cve":"CVE-2026-54178","published":"2026-09-14","fixed":"7.0.35","kev":false},{"cve":"CVE-2026-54182","published":"2026-09-14","fixed":"7.0.36","kev":false,"link":{"from":"CVE-2022-31114","to":"CVE-2026-54182","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:backpack/crud","fromFixed":"5.0.13","toFixed":"5.6.2","daysApart":103},{"kind":"version-step","provenance":"source","package":"Packagist:backpack/crud","fromFixed":"4.1.69","toFixed":"4.1.72","daysApart":103}]}}],"package":"Packagist:backpack/crud"}}