The extension/polyfill path solves most security concerns, but not all. With `<xsl:output method="html"/>`, libxslt writes the text of `style` and `script` elements unescaped, and the polyfill, Chrome and Safari then reparse the output as HTML. So if a stylesheet puts data in a `<style>` or `<script>`, that data can become markup that runs attacker-controlled script. Firefox's native XSLT builds the DOM directly and keeps it as text. This is a mutation-XSS kind of bug, and it's inherent to reparsing libxslt's output; not solved by sandboxing. I'm trying to close the mutation-XSS hole in general, and XSLT keeping it open would be unfortunate.
Further, the polyfill has limitations, some unfixable or not worth the complexity. For example, it can't trigger quirks mode in XML, or perfectly emulate all quirks.
The polyfill is a stop-gap meant to ease the transition. It's not proof that browsers can keep supporting XSLT with perfect compatibility and get rid of all security concerns.