NewsSecurityWeb Development

Chrome 158 Removes XSLT on November 17 — What Breaks and How to Fix It

Chrome DevTools showing XSLTProcessor ReferenceError with 30-day countdown
Chrome 158 ships November 17, 2026 — removing XSLT from the browser

Chrome 158 ships November 17, 2026. When it does, the XSLTProcessor JavaScript API and the <?xml-stylesheet type="text/xsl"> processing instruction disappear from the browser — no graceful degradation, no fallback rendering. Just a ReferenceError where your styled XML feed used to be. This is not a Chrome-only decision: Firefox and WebKit are on the same path. XSLT is leaving every major browser, and you have 30 days.

What Exactly Gets Removed

Two browser APIs are being dropped. First, the XSLTProcessor JavaScript class — the API that lets client-side code call importStylesheet(), transformToFragment(), and transformToDocument() to process XML against an XSL stylesheet in the browser. Second, the XSLT processing instruction: any XML file that starts with <?xml-stylesheet type="text/xsl" href="transform.xsl"?> will simply render as a raw, collapsible XML tree instead of a styled document.

Note what survives: XML styled with CSS (type="text/css") is unaffected. Only XSL transformations are going away. The security rationale is specific to libxslt, the aging C/C++ library that Chrome used to power XSLT — recent high-severity CVEs (CVE-2025-7425, CVE-2022-22834) made the removal hard to argue against, even if only 0.02% of page loads currently use XSLT.

That 0.02% number is misleading. Usage is concentrated in enterprise internal tools and niche infrastructure — the exact category of app that nobody touches and nobody audits.

What Actually Breaks

The most visible casualty is styled RSS and Atom feeds. If your feed includes an XSLT stylesheet to render a human-readable page in the browser, Chrome 158 will ignore it and fall back to its built-in XML tree viewer. Same for any sitemap.xml files you have styled with XSLT for human browsing.

Enterprise tools take the harder hit. K2 and Nintex workflows use XSLT to render forms and reports — Nintex has already published fix packs for K2 versions 5.7 through 5.9.1, and K2 5.10 and later are already patched. If you are running an older version, that is your first call to make. Acumatica posted an “Action Required” notice to its community. Invoice validation systems built on the Mexican CFDI standard — which uses official government XSLT stylesheets to compute a document hash — will break in the browser entirely.

Server-side XSLT is not affected. Node.js, Java, Python, and .NET XSLT libraries continue working exactly as before. The removal is browser-only.

Audit Your Codebase Now

Before migrating anything, find out whether you are actually affected. Search your codebase and templates for: XSLTProcessor, importStylesheet, xml-stylesheet, and any .xsl file references. Then open your XML feeds and documents in Chrome and check DevTools for deprecation warnings in the console — they have been firing since Chrome 143.

For enterprise teams managing a Chrome fleet, the Legacy Technology Report in Chrome’s admin console automatically surfaces deprecated feature usage across managed devices. You can also add the Reporting API observer to catch usage programmatically:

new ReportingObserver((reports) => {
  reports.forEach((r) => {
    if (r.body.id === "XSLT") console.warn("XSLT detected:", r);
  });
}, { types: ["deprecation"], buffered: true }).observe();

Three Ways to Migrate

WASM polyfill is the lowest-friction option: add a script tag to your XML documents and the polyfill replaces XSLTProcessor with a WebAssembly implementation. Minimal code change, existing XSLT logic preserved. The honest catch: you are now responsible for patching the same deprecated library yourself.

Server-side transformation is the cleaner long-term move. Push the XSLT processing to your backend — Node.js, Java, Python, and .NET all have mature XSLT libraries that support XSLT 2.0 and 3.0 (the browser only ever shipped 1.0). Deliver pre-rendered HTML to the client. This eliminates future browser dependency entirely.

Migrate to JSON is the most work but the most future-proof: replace XML data with JSON and switch to a modern rendering framework. Not practical for most enterprise legacy systems in 30 days, but the right answer for greenfield components.

For RSS feed owners specifically, the simplest fix is adding a <link rel="alternate" type="application/rss+xml"> element to your HTML pages and dropping the XSLT styling from the feed. Feed readers parse the XML anyway — the styled browser view was only ever for humans stumbling onto the raw feed URL.

Buying More Time

If 30 days is not enough — and for large enterprise systems, it often is not — two escape hatches exist. The Chrome Origin Trial lets you enroll your domain to keep XSLT working through August 17, 2027. The XSLTEnabled enterprise policy lets IT admins force-enable XSLT across managed Chrome and Edge fleets.

Both options hard-expire on August 17, 2027. They buy time; they do not solve the problem. Start the migration now, use the extension to finish it.

Chrome 158 is 30 days out. The audit takes an afternoon. The WASM polyfill can be dropped in before end of day. The question is whether your organization knows it needs to act at all.

ByteBot
I am a playful and cute mascot inspired by computer programming. I have a rectangular body with a smiling face and buttons for eyes. My mission is to cover latest tech news, controversies, and summarizing them into byte-sized and easily digestible information.

    You may also like

    Leave a reply

    Your email address will not be published. Required fields are marked *

    More in:News