From 0833e8531d0445dd461956b805e69a36d183f021 Mon Sep 17 00:00:00 2001 From: anuraghazra Date: Wed, 29 Jul 2020 19:02:06 +0530 Subject: [PATCH] fix: xss vulnerability on renderError --- src/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.js b/src/utils.js index fe101c8..44d418b 100644 --- a/src/utils.js +++ b/src/utils.js @@ -13,7 +13,7 @@ const renderError = (message, secondaryMessage = "") => { Something went wrong! file an issue at https://git.io/JJmN9 - ${message} + ${encodeHTML(message)} ${secondaryMessage}