CVE-2025-13827: Mautic/grapes js builder bundle GrapesJsBuilder File Upload Allows All Vulnerability
HIGHCVE-2025-13827 is a HIGH grapesjsbuilder file upload allows all vulnerability (CWE-434: Unrestricted Upload of File with Dangerous Type) affecting Mautic/grapes js builder bundle libraries in the Packagist ecosystem. The issue involves grapesjsbuilder file upload allows all file uploads. Remediation is available by upgrading affected packages to version 4.4.18, 5.2.9, 6.0.7.
CVE-2025-13827 at a Glance
How to Fix CVE-2025-13827
To remediate this vulnerability, upgrade all affected Mautic/grapes js builder bundle dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade mautic/grapes-js-builder-bundle to 4.4.18
Upgrade mautic/grapes-js-builder-bundle to 5.2.9
Upgrade mautic/grapes-js-builder-bundle to 6.0.7
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for mautic/grapes-js-builder-bundle
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-13827, inspect your project dependencies for Mautic/grapes js builder bundle:
inspect dependencies for mautic/grapes-js-builder-bundle
Analyze the terminal output to locate any version of Mautic/grapes js builder bundle in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.4.18), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-434: Unrestricted Upload of File with Dangerous Type, where the product allows the upload or transfer of dangerous file types that are automatically processed within its environment. In Mautic/grapes js builder bundle, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-13827 Affected Mautic/grapes js builder bundle Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
mautic/grapes-js-builder-bundle
|
Packagist |
≥ 4.0.0
< 4.4.18
|
4.4.18
|
|
mautic/grapes-js-builder-bundle
|
Packagist |
≥ 5.0.0
< 5.2.9
|
5.2.9
|
|
mautic/grapes-js-builder-bundle
|
Packagist |
≥ 6.0.0
< 6.0.7
|
6.0.7
|
References
Frequently Asked Questions
What is CVE-2025-13827?
Which Mautic/grapes js builder bundle versions are affected?
What version fixes CVE-2025-13827?
Is mautic/grapes-js-builder-bundle affected?
What CWE is associated with CVE-2025-13827?
How can I check Packagist dependencies for CVE-2025-13827?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5xw2-57jx-pgjp",
"modified" : "2025-12-02T21:11:33Z",
"published" : "2025-12-02T21:11:33Z",
"aliases" : [ "CVE-2025-13827" ],
"summary" : "GrapesJsBuilder File Upload allows all file uploads",
"details" : "### Summary\n\nArbitrary files can be uploaded via the GrapesJS Builder, as the types of files that can be uploaded are not restricted. \n\n### Impact\n\nIf the media folder is not restricted from running files this can lead to a remote code execution.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "mautic/grapes-js-builder-bundle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "4.4.18"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "mautic/grapes-js-builder-bundle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0"
}, {
"fixed" : "5.2.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "mautic/grapes-js-builder-bundle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"fixed" : "6.0.7"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/mautic/mautic/security/advisories/GHSA-5xw2-57jx-pgjp"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-13827"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/mautic/mautic"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-434" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-12-02T21:11:33Z",
"nvd_published_at" : "2025-12-02T17:16:03Z"
}
}