Chrome 158 Removes XSLT on November 17
Chrome 158 reaches stable on November 17, 2026, and with it XSLT stops working in the browser by default. The request to flip the switch cleared blink-dev with three API-owner approvals on September 29–30, 2026, so the date is settled. The mechanism being removed is narrow; the places it quietly lives are not. Any XML sitemap or RSS feed that leans on an XSL stylesheet to look like a web page will render as raw XML after that date.
Why the browser is dropping it
In-browser XSLT runs on libxslt, an aging and complex C/C++ codebase. The Chrome team points at CVE-2025-7425 and CVE-2022-22834 as examples of what maintaining it costs, and sets that against actual usage: roughly 0.02% of page loads touch XSLT at all, and fewer than 0.001% use the declarative processing instruction. A full attack surface in a memory-unsafe library, serving a fraction of one percent of the web.
This is not one vendor acting alone. The HTML and DOM standards now mark XSLT as "do not use", and both Gecko and WebKit registered positive positions on removal.
What exactly stops working
Two things:
- The
XSLTProcessorclass in JavaScript, along withimportStylesheetandtransformToFragment. - The declarative processing instruction
<?xml-stylesheet type="text/xsl" ... ?>.
One thing does not change: the same processing instruction pointing at CSS — type="text/css" — is untouched. XML parsing itself stays. Only the transform layer goes.
The timeline: console warnings from October 2025, formal deprecation in December 2025, then default-off in the Canary, Dev and Beta channels, followed by an origin trial and an enterprise policy through 2026. Default-off on stable lands November 17, 2026. The real end date is August 17, 2027, when the origin trial and the XSLTEnabled policy both stop functioning. If the milestone numbers look off against older write-ups, they shifted from M155 to M158 when Chrome moved to a two-week release cycle — the calendar dates held.
Find out whether this touches you
Hand-auditing is the wrong approach. The browser already reports it:
new ReportingObserver((reports) => {
for (const report of reports) {
if (report.body.id === "XSLT") {
navigator.sendBeacon("/telemetry/deprecations", JSON.stringify({
url: location.href,
message: report.body.message,
}));
}
}
}, { types: ["deprecation"], buffered: true }).observe();Ship that on the pages you suspect and read what comes back. Fleet-wide, the Legacy Technology Report surfaces the same signal.
Migrations, sturdiest first
Move the transform to the server and send finished HTML. Same stylesheet, same output, no browser dependency:
xsltproc sitemap.xsl sitemap.xml > sitemap.htmlFor feeds, publish a normal HTML page for the content and point readers at the feed from there:
<link rel="alternate" type="application/rss+xml" title="Feed" href="/feed.xml">If the transform is genuinely application logic and cannot move yet, a WebAssembly polyfill restores XSLTProcessor with a single line added as a child of the document's root element:
<script src="xslt-polyfill.min.js" xmlns="http://www.w3.org/1999/xhtml"></script>And for real XSLT 3.0 in the browser, Saxon-JS from Saxonica implements the current standard.
Caveats worth knowing
Sitemap breakage is cosmetic. Search engines parse the XML directly and never run XSLT, so indexing is unaffected — what changes is what a human sees when they open the link themselves.
"Looks odd" and "is broken" are far apart. A Chrome survey of around 220 sites found 72% working unchanged with XSLT disabled, and roughly 75% of sites that hit the counter showed no visible damage at all. The real exposure sits with applications that build UI from XSLTProcessor at runtime.
The polyfill and the XSLTEnabled policy are runway, not a fix. Both expire in August 2027.
Takeaway
The durable move is getting XSLT out of the browser — onto the server, or out of the picture entirely in favor of JSON — and treating the polyfill as a bridge while that work happens. Before November 17, the first step costs almost nothing: run a ReportingObserver and find out where XSLT actually lives in your stack.
Primary source: Removing XSLT for a more secure browser, from the Chrome team.