(cq) replace v-html with v-text to prevent xss

This commit is contained in:
Simon Vieille
2022-08-21 16:12:52 +02:00
parent f058ec10d3
commit d837f1acf5
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<Loader v-if="!items.length" />
<div class="side-menu-category" v-for="category in items">
<h2 class="side-menu-category-title" v-if="category.name != ''" v-html="category.name"></h2>
<h2 class="side-menu-category-title" v-if="category.name != ''" v-text="category.name"></h2>
<ul class="side-menu-apps-list">
<SideMenuBigApp