Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. mautic/core
  4. ›
  5. CVE-2021-27916

CVE-2021-27916: Mautic vulnerable to Relative Path Traversal / Arbitrary File Deletion due to GrapesJS builder

April 12, 2024 (updated October 2, 2024)

Prior to the patched version, logged in users of Mautic are vulnerable to Relative Path Traversal/Arbitrary File Deletion. Regardless of the level of access the Mautic user had, they could delete files other than those in the media folders such as system files, libraries or other important files.

This vulnerability exists in the implementation of the GrapesJS builder in Mautic.

References

  • github.com/advisories/GHSA-9fcx-cv56-w58p
  • github.com/mautic/mautic
  • github.com/mautic/mautic/commit/546045ff9c74dd8b3dac36c4ab3674380262c65a
  • github.com/mautic/mautic/commit/95e8df3ae6730c725f1848d70e7992da369518f3
  • github.com/mautic/mautic/security/advisories/GHSA-9fcx-cv56-w58p
  • nvd.nist.gov/vuln/detail/CVE-2021-27916

Code Behaviors & Features

Detect and mitigate CVE-2021-27916 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.3.0 before 4.4.12, all versions starting from 5.0.0-alpha before 5.0.4

Fixed versions

  • 4.4.12
  • 5.0.4

Solution

Upgrade to versions 4.4.12, 5.0.4 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-23: Relative Path Traversal

Source file

packagist/mautic/core/CVE-2021-27916.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:46 +0000.