CompTIA CySA+ CS0-003 Practice Question
You are performing a vulnerability assessment and identify several instances of cross-site scripting (XSS) on your company's web applications. Which of the following measures is the MOST effective in mitigating this vulnerability?
Conduct regular security audits.
Implement input validation and output encoding.
Update the application's software dependencies.
Use a Content Security Policy (CSP).