With access to edit a Mautic form, the attacker can add Cross-Site Scripting stored in the html filed. This could be used to steal sensitive information from the user's current session.
https://github.com/mautic/mautic/security/advisories/GHSA-xv68-rrmw-9xwf