NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2025-13827: GrapesJsBuilder File Upload allows all file uploads

highCVSS 4.0 8.8GHSA-5xw2-57jx-pgjp

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.

Published Dec 2, 2025

Affected packages

mautic/grapes-js-builder-bundle

Ecosystem
Composer (PHP)
Affected
>= 4.0.0, < 4.4.18
Fixed in
4.4.18
Check
composer show mautic/grapes-js-builder-bundle

mautic/grapes-js-builder-bundle

Ecosystem
Composer (PHP)
Affected
>= 5.0.0, < 5.2.9
Fixed in
5.2.9
Check
composer show mautic/grapes-js-builder-bundle

mautic/grapes-js-builder-bundle

Ecosystem
Composer (PHP)
Affected
>= 6.0.0, < 6.0.7
Fixed in
6.0.7
Check
composer show mautic/grapes-js-builder-bundle

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to driskell, escopecz, patrykgruszka.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology