ADVISORIES

GitHub Advisory Database

GHSA-5xw2-57jx-pgjp

GrapesJsBuilder File Upload allows all file uploads

Details

Summary

Arbitrary files can be uploaded via the GrapesJS Builder, as the types of files that can be uploaded are not restricted.

Impact

If the media folder is not restricted from running files this can lead to a remote code execution.

Affected packages

EcosystemPackageAffected versions
Packagistmautic/grapes-js-builder-bundle
From 4.0.0 before 4.4.18 (fixed in 4.4.18)
Packagistmautic/grapes-js-builder-bundle
From 5.0.0 before 5.2.9 (fixed in 5.2.9)
Packagistmautic/grapes-js-builder-bundle
From 6.0.0 before 6.0.7 (fixed in 6.0.7)

References