An image can be displayed through a .php source if the source has a proper header (as per the answer to this question).
If a website allows something.php
as the image source, and displays the image (as described above), is it possible to include some kind of javascript in something.php
that will also run when the hosting site retrieves the image? (This seems like it could open things up to a possible XSS)