diff --git a/app/Views/partial/header_js.php b/app/Views/partial/header_js.php index 057324db1..f3f38003e 100644 --- a/app/Views/partial/header_js.php +++ b/app/Views/partial/header_js.php @@ -21,7 +21,7 @@ $.notify = function(content, options) { const message = typeof content === "object" ? content.message : content; - const sanitizedMessage = DOMPurify.sanitize(message); + const sanitizedMessage = DOMPurify.sanitize(message, { ALLOWED_TAGS: [], ALLOWED_ATTR: [] }); return notify(sanitizedMessage, options); };