A solution to XSS vulnerabilities is to use HTML escaping whenever displaying untrusted data.
Note that passing untrusted data to methods of Shell is dangerous in general.
Antonyms