Developing Applications Using Cisco Core Platforms and APIs (DEVCOR) — Question 19

A web application is susceptible to cross-site scripting.
Which two methods allow this issue to be mitigated? (Choose two.)

Answer options

Correct answer: B, E

Explanation

Option B is correct because limiting user input to acceptable characters helps prevent malicious scripts from being executed. Option E is also correct as removing HTML/XML tags eliminates the potential for injected scripts to be processed. The other options do not effectively mitigate cross-site scripting vulnerabilities.