Fetching & Displaying Data

What security consideration should be addressed when displaying fetched data in the UI?
function displayUserComment(comment) {
  const commentDiv = document.createElement('div');
  commentDiv.innerHTML = comment.content; // Potential XSS vulnerability
  document.getElementById('comments').appendChild(commentDiv);
}
Next Question (8/20)