$address
and $cityState
is user provided, stored in a DB, and available for others to view as shown below. Is there risk of XSS? Should htmlspecialchars()
also be used on it?
<img src="http://maps.google.com/maps/api/staticmap?markers=color:blue|<?php echo(urlencode($address.' '.$cityState));?>&zoom=14&size=400x400&sensor=false" alt="Map" />