dmxAppConnect.js SAST vulnerability

As the suggested fix already explains you need to sanitize the html, you can create a custom formatter for App Connect that does this.

Formatter using sanitize-html

import sanitizeHtml from 'sanitize-html';

dmx.Formatter('string', 'sanitizeHtml', (html, options) => {
  return sanitizeHtml(html, options);
});

You can then use it in expressions like dmx-html="email.body.sanitizeHtml()"

They don't offer a browser ready script anymore, so you have to use some bundler to build the code for the formatter.