(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
+2 -2
View File
@@ -17,8 +17,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<template>
<li v-bind:class="classes">
<a v-bind:href="href" :target="target" v-bind:title="label">
<span class="side-menu-app-icon" v-html="icon"></span>
<span class="side-menu-app-text" v-html="label"></span>
<span class="side-menu-app-icon" v-text="icon"></span>
<span class="side-menu-app-text" v-text="label"></span>
</a>
</li>
</template>