CVE-2021-27916
JSON

8.1high

Relative Path Traversal / Arbitrary File Deletion in Mautic (GrapesJS Builder)

Severity
8.1high CVSS:3.1 by Mautic
Exploit likelihood
0.80% (higher than 57% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Mautic
Also known as
GHSA-9fcx-cv56-w58p

Description

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.

Affected

Product or packageVersionsReported by
mautic/corefrom >= 3.3.0 up to <= 4.4.11, from >= 5.0.0 up to <= 5.0.3CVE List
mautic/core (Packagist)from 3.3.0 before 4.4.12, from 5.0.0-alpha before 5.0.4GitHub Advisory Database
acquia mauticfrom 3.3.0 before 4.4.12, from 5.0.0 before 5.0.4NVD

All scores

Mautic8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
GitHub8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Classification

CWE-22CWE-23

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
Impact

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.

Patches

Update to 4.4.12 or 5.0.4.

Workarounds

No

References
For more information

If you have any questions or comments about this advisory:

Email us at security@mautic.org

NVD (es)

Antes de la versión parcheada, los usuarios registrados de Mautic eran vulnerables a la eliminación arbitraria de archivos y al recorrido de ruta relativa. Independientemente del nivel de acceso que tuviera el usuario de Mautic, podía eliminar archivos que no estuvieran en las carpetas multimedia, como archivos del sistema, librerías u otros archivos importantes. Esta vulnerabilidad existe en la implementación del generador GrapesJS en Mautic.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-27916 changed 2024-09-18CVE Terms of Use
GitHub Advisory DatabaseGHSA-9fcx-cv56-w58p changed 2024-10-02CC-BY-4.0
NVDCVE-2021-27916 changed 2026-06-17Public domain