{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-31114","id":"CVE-2022-31114","title":"backpack/crud Vulnerable to Cross-site Scripting","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 specifi","descriptionLong":"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()`.","published":"2026-06-03T14:41:41.395Z","updated":"2026-10-28T02:30:38.424403447Z","reserved":"2022-05-18T18:37:25.429Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":5.1,"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","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":5.1,"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","rating":"medium","source":"GitHub_M"},{"version":"4.0","score":5.1,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Laravel-Backpack CRUD"],"affectedProducts":[{"vendor":"Laravel-Backpack","product":"CRUD","defaultStatus":null,"versions":[{"version":">= 5.0.0, < 5.0.13","status":"affected"},{"version":">= 4.0.0, < 4.1.69","status":"affected"},{"version":"< 4.0.63","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"backpack/crud","purl":"pkg:composer/backpack/crud","ranges":[">=5.0.0 <5.0.13",">=4.1.0 <4.1.69","<4.0.63"],"fixed":["5.0.13","4.1.69","4.0.63"],"advisory":"GHSA-m8xx-3x29-84h8"}],"cwes":["CWE-79"],"aliases":["GHSA-m8xx-3x29-84h8"],"references":[{"url":"https://github.com/Laravel-Backpack/CRUD/security/advisories/GHSA-m8xx-3x29-84h8","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31114.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31114","tags":["advisory"]},{"url":"https://backpackforlaravel.com/articles/news/we-recommend-you-fix-this-vulnerability","tags":["web"]},{"url":"https://github.com/Laravel-Backpack/CRUD","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00303,"epssPercentile":0.23469,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-31114","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31114","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-31114","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-m8xx-3x29-84h8","ok":true,"note":"GHSA-m8xx-3x29-84h8"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-31114","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["laravel"],"critical":[],"attention":null}