CompTIACompTIA
CS0-003 · Question #385
CS0-003 Question #385: Real Exam Question with Answer & Explanation
Sign in or unlock CS0-003 to reveal the answer and full explanation for question #385. The question stem and answer options stay visible for context.
Submitted by weili_xi· Mar 6, 2026Vulnerability Management
Question
A security analyst found the following vulnerability on the company's website: <INPUT TYPE="IMAGE" SRC="javascript:alert(`test');"> Which of the following should be implemented to prevent this type of attack in the future?
Options
- AInput sanitization
- BOutput encoding
- CCode obfuscation
- DPrepared statements
Unlock CS0-003 to see the answer
You've previewed enough free CS0-003 questions. Unlock CS0-003 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#XSS#input sanitization#web security#vulnerability remediation