This is one of those bugs that really should never happen, and one wonders how Microsoft could have missed it and failed to take it seriously.
This isn't a particularly sophisticated or novel attack vector, difficult as it was to find; it's the sort of injection attack caused by string interpolation that should have been caught long before anything was shipped.