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