A security analyst has identified that Cross-Site Scripting (XSS) vulnerabilities are present on a company's customer portal. What is the most effective control to mitigate these vulnerabilities?
Disabling JavaScript on the client-side
Routine patching
Network segmentation
Output encoding