CodeZettaInterview Hub

Vue.js · Directives · Mid-Level · Debugging

v-html security concerns?

Short Interview Answer

Renders raw HTML—XSS risk if content is user-controlled.

Detailed Explanation

Sanitize thoroughly or avoid. Prefer text interpolation.

Did you know this answer?