diff --git a/src/components/shared/console/console.jsx b/src/components/shared/console/console.jsx
index 14640457..9a83b5b7 100644
--- a/src/components/shared/console/console.jsx
+++ b/src/components/shared/console/console.jsx
@@ -3,6 +3,7 @@ import PropTypes from 'prop-types';
import React, {
useRef, useEffect, useState,
} from 'react';
+import DOMPurify from 'dompurify'; // Import DOMPurify
import Button from 'components/shared/button';
import Status from 'components/shared/status';
@@ -195,7 +196,7 @@ const LogsLine = (props) => {
{html ? (
) : (
{out}