cve.bz

CVE-2022-31114 laravel-backpack crud: Cross-site Scripting

5.1 mediumEPSS 0.3%Fix available

Medium (5.1) in laravel-backpack crud. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in backpack/crud 4.0.63, 4.1.69, 5.0.13.

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

Severity

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
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 23rd percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-06-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • backpack/crud (Packagist): fixed in 5.0.13, 4.1.69, 4.0.63

Ask an AI about this CVE

Show the promptExplain CVE-2022-31114 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-31114?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-31114?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-31114 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Laravel-Backpack CRUD>= 5.0.0, < 5.0.13
Laravel-Backpack CRUD>= 4.0.0, < 4.1.69
Laravel-Backpack CRUD< 4.0.63

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-m8xx-3x29-84h8Packagistbackpack/crud>=5.0.0 <5.0.135.0.13
GHSA-m8xx-3x29-84h8Packagistbackpack/crud>=4.1.0 <4.1.694.1.69
GHSA-m8xx-3x29-84h8Packagistbackpack/crud<4.0.634.0.63

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON