From b8adb0afb7e56ce126ffb92fb7a2b359f2041087 Mon Sep 17 00:00:00 2001 From: heerim Date: Sun, 18 Aug 2024 17:41:28 +0900 Subject: [PATCH] [HOTFIX] Escaping vulnerable text when modal opens (#4795) (cherry picked from commit 25b6001148d910cd5d0b058e2bd3b5e184afde4c) --- zeppelin-web/src/app/helium/helium.controller.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zeppelin-web/src/app/helium/helium.controller.js b/zeppelin-web/src/app/helium/helium.controller.js index 8de38a09484..c130d96b725 100644 --- a/zeppelin-web/src/app/helium/helium.controller.js +++ b/zeppelin-web/src/app/helium/helium.controller.js @@ -240,10 +240,10 @@ export default function HeliumCtrl($scope, $rootScope, $sce, `
${getHeliumTypeText(type)}
` + '
' + '
Description
' + - `
${description}
` + + `
${_.escape(description)}
` + '
' + '
License
' + - `
${license}
`, + `
${_.escape(license)}
`, callback: function(result) { if (result) { confirm.$modalFooter.find('button').addClass('disabled');