I know with that an image can be placed in a MD with the MD syntax of either  or  or if it is inline (which are currently completely removed by GitHub), so those cases shouldn't be a security concern. Relevant links:
The following questions asks about the risks of SVG in general: https://security.stackexchange.com/questions/11384/exploits-or-other-security-risks-with-svg-upload