{"answers":{"affected":"6 open source packages ship an affected version, including mautic/grapes-js-builder-bundle.","exploited":"There is no known exploitation of CVE-2025-13827 in the wild and no public exploit code.","fix":"Upgrade mautic/grapes-js-builder-bundle to a fixed version for your release line: 4.4.18, 5.2.9 or 6.0.7.","what":"CVE-2025-13827 is a high-severity vulnerability in Mautic, published on 2 Dec 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-13827 and fix it if it is affected.\n\nWhat it is: CVE-2025-13827 is a high-severity vulnerability in Mautic, published on 2 Dec 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-13827 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- mautic/grapes-js-builder-bundle (Packagist): affected from 4.0.0; fixed in 4.4.18\n- mautic/grapes-js-builder-bundle (Packagist): affected from 4.0.0; fixed in 4.4.18\n- mautic/grapes-js-builder-bundle (Packagist): affected from 5.0.0; fixed in 5.2.9\n- mautic/grapes-js-builder-bundle (Packagist): affected from 5.0.0; fixed in 5.2.9\n- mautic/grapes-js-builder-bundle (Packagist): affected from 6.0.0; fixed in 6.0.7\n- mautic/grapes-js-builder-bundle (Packagist): affected from 6.0.0; fixed in 6.0.7\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-13827/ (Markdown: https://insights.sbomify.com/CVE-2025-13827/index.md)","id":"CVE-2025-13827","markdown":"https://insights.sbomify.com/CVE-2025-13827/index.md","name":"CVE-2025-13827","record":{"aliases":["GHSA-5xw2-57jx-pgjp"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Mautic marketing automation","requires_auth":"low_privilege","summary":"Attackers can upload arbitrary files via GrapesJS Builder, potentially achieving remote code execution if the media folder allows script execution.","user_interaction":"required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Mautic","cpe":[],"cvss":{"score":8.8,"severity":"high","source":"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","version":"4.0"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"Summary\nArbitrary files can be uploaded via the GrapesJS Builder, as the types of files that can be uploaded are not restricted. \nImpactIf the media folder is not restricted from running files this can lead to a remote code execution.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"GrapesJsBuilder File Upload allows all file uploads","id":"CVE-2025-13827","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"file_upload","year":"2025"},"n_packages":6,"n_references":1,"next":{"headline":"Mautic user without privileged access to the Marketplace can install and uninstall composer packages","id":"CVE-2025-13828"},"packages":[{"ecosystem":"Packagist","fixed":["4.4.18"],"introduced":["4.0.0"],"last_affected":[],"package":"mautic/grapes-js-builder-bundle","purl":null,"source":"GHSA-5xw2-57jx-pgjp"},{"ecosystem":"Packagist","fixed":["4.4.18"],"introduced":["4.0.0"],"last_affected":[],"package":"mautic/grapes-js-builder-bundle","purl":"pkg:composer/mautic/grapes-js-builder-bundle","source":"GHSA-5xw2-57jx-pgjp"},{"ecosystem":"Packagist","fixed":["5.2.9"],"introduced":["5.0.0"],"last_affected":[],"package":"mautic/grapes-js-builder-bundle","purl":null,"source":"GHSA-5xw2-57jx-pgjp"},{"ecosystem":"Packagist","fixed":["5.2.9"],"introduced":["5.0.0"],"last_affected":[],"package":"mautic/grapes-js-builder-bundle","purl":"pkg:composer/mautic/grapes-js-builder-bundle","source":"GHSA-5xw2-57jx-pgjp"},{"ecosystem":"Packagist","fixed":["6.0.7"],"introduced":["6.0.0"],"last_affected":[],"package":"mautic/grapes-js-builder-bundle","purl":null,"source":"GHSA-5xw2-57jx-pgjp"},{"ecosystem":"Packagist","fixed":["6.0.7"],"introduced":["6.0.0"],"last_affected":[],"package":"mautic/grapes-js-builder-bundle","purl":"pkg:composer/mautic/grapes-js-builder-bundle","source":"GHSA-5xw2-57jx-pgjp"}],"prev":{"headline":"Incorrect input validation on the Zervit portable HTTP/Web server","id":"CVE-2025-13826"},"products":["Mautic"],"published":"2025-12-02","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-12-02","vendors":["Mautic"]},"summary":"Attackers can upload arbitrary files via GrapesJS Builder, potentially achieving remote code execution if the media folder allows script execution.","url":"https://insights.sbomify.com/CVE-2025-13827/"}