Skip to content
RedCVE

CVE-2026-54179Laravel Backpack CRUD cross-site scripting (XSS)

Laravel-BackpackPublished:

CVSS score

4.4

Medium

CVSS 3.1 from github.com

Exploit probability (EPSS)

0.26%

0.26% chance of exploitation in the next 30 days, higher than 18.0% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

backpack/crud provides Create, Read, Update & Delete (CRUD) functions for Backpack, a collection of Laravel packages that help users build custom administration panels. From 6.0.0 until 6.8.14 and 7.0.37, the src/app/Library/Uploaders/SingleBase64Image.php methods SingleBase64Image::uploadFiles and SingleBase64Image::uploadRepeatableFiles, used by image fields through withFiles(), accept any data URI beginning with data:image without validating the declared MIME subtype or decoded bytes, while src/app/Library/Uploaders/Support/FileNameGenerator.php method FileNameGenerator::getExtensionFromFile applies mime_content_type() to the data URI instead of the decoded content. An authenticated administrator can therefore store arbitrary file content under an extensionless filename on the configured disk, which can cause stored cross-site scripting or other unintended behavior when the file is served and accessed. This issue is fixed in version 7.0.38 and 6.8.14.

Source: NVD · CNA: security-advisories@github.com

How to fix it, step by step

  1. Check whether you're affected

    Find every system running Laravel-Backpack CRUD and compare its version with the affected versions.

  2. Update to a fixed version

    • Update CRUD to 6.8.14, 7.0.38 or later, on the branch you run.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
High
Privileges required
Low
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected products

Affected productsVersions
Laravel-Backpack CRUD>= 6.0.0, < 6.8.14 · >= 7.0.0, < 7.0.38

Weakness

  • CWE-79 cross-site scripting (XSS)
  • CWE-434 unrestricted file upload

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-54179 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.3% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-54179?

CVE-2026-54179 has a CVSS 3.1 base score of 4.4 (medium).

Which versions are affected?

Laravel Backpack CRUD (>= 6.0.0, < 6.8.14; >= 7.0.0, < 7.0.38)

Is there a patch for CVE-2026-54179?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.