A reader clicks the “RSS” link in your blog footer. Until last month, Chrome showed them a neat page: your blog’s name, a list of posts, maybe a note explaining how to subscribe. Now the same link shows raw XML instead of that page. Nothing changed on your server. The browser changed.
Chrome 158, released to the Stable channel (the regular version most people use) on November 17, 2026, stopped running XSLT for normal users. Chrome’s migration guide lists both browser entry points as removed: the <?xml-stylesheet type="text/xsl" ...?> line inside XML files and the XSLTProcessor JavaScript API. Chrome: Removing XSLT for a more secure browser
This article explains what that means in plain words, shows how to find the files on your site that relied on it, and walks through three replacements, two of which I tested. The short version: your feed and sitemap still work for the programs that read them; only the human-friendly view in the browser broke, and you can bring it back without browser XSLT.
A few terms first
- XML: a text format for structured data, written with tags like
<item>and<title>. RSS feeds and sitemaps are XML files. - RSS / Atom feed: an XML file that lists a site’s latest posts so feed reader apps can follow the site.
- Sitemap: an XML file that lists a site’s URLs so search engines can find them.
- XSLT (Extensible Stylesheet Language Transformations): a language for turning one XML document into another document, usually HTML. An XSLT file is often called a stylesheet and ends in
.xslor.xslt. - Processing instruction: a special line at the top of an XML file, starting with
<?and ending with?>. The line<?xml-stylesheet type="text/xsl" href="feed.xsl"?>tells a browser “before showing this XML, transform it withfeed.xsl”. XSLTProcessor: a JavaScript class that ran the same transformation from a script.- Polyfill: JavaScript that re-creates a missing browser feature.
- Enterprise policy: a setting a company’s IT team pushes to all its managed Chrome installations.
What exactly changed
Chrome first announced the plan in August 2025, published its migration guide in October 2025, and followed a long timeline. The key dates from the guide:
- Chrome 143 (December 2025) marked XSLT as deprecated and showed warnings.
- Chrome 152 (August 2026) opened an origin trial, a way for a site owner to register their site and keep a feature working for a limited time.
- Chrome 158 (November 17, 2026): XSLT stops working on Stable for everyone except sites in the origin trial and companies using the enterprise policy
XSLTEnabled. - Chrome 176 (planned for August 17, 2027): the origin trial and the policy stop working too, and XSLT is gone for all users.
Chrome gives two reasons. The code that runs XSLT in Chromium, the C library libxslt, has had repeated memory-safety bugs, and very few pages use the feature: the guide cites Chrome’s usage counters showing about 0.02% of page loads using XSLT. The guide also links statements from the Firefox and WebKit (Safari) projects saying they plan to remove XSLT too, so treat this as a web-wide change, not a Chrome quirk. For the latest status, see the Chrome Platform Status entry.
Two things did not change:
- XML itself still works. Chrome still opens XML files and
DOMParserstill parses them. - XML with CSS still works. A processing instruction with
type="text/css"is still supported, as the guide states and as my test below shows.
Who is affected
You are affected if a browser is supposed to show something nicer than raw XML. Common cases:
- a “pretty” RSS or Atom feed, where
feed.xmlpoints to an.xslfile that turns it into a readable page; - a styled sitemap, where
sitemap.xmlpoints to an.xslfile that draws a table of URLs (some sitemap generators and CMS plugins add one automatically); - an internal tool or device page that serves XML and relies on the browser to render it;
- JavaScript that calls
new XSLTProcessor().
Feed readers and search engine crawlers read the XML data directly. The stylesheet line was only there for people opening the file in a browser, so in my reading of the change your feed subscribers and sitemap submissions are not affected. What breaks is the page a human sees.
Step 1: confirm the behavior yourself
I tested with Chrome for Testing 158.0.8127.88 (the Chromium build Playwright uses) and a tiny site served with python3 -m http.server. The test feed was:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/feed.xsl"?>
<rss version="2.0">
<channel>
<title>Example Blog</title>
<link>https://example.com/</link>
<description>Posts from Example Blog</description>
<item>
<title>Hello XSLT</title>
<link>https://example.com/hello</link>
</item>
</channel>
</rss>
and feed.xsl turned it into a page with an <h1> and a list of links (the full file is in Step 3). Opening /feed.xml in Chrome 158 gave:
- no
<h1>and an empty page title: the transformation did not run; - this console message:
XSLTProcessor and XSLT Processing Instructions have been removed in this browser.; typeof XSLTProcessoron a normal HTML page returned"undefined".
That console message is the fastest manual check: open your feed or sitemap in Chrome, press F12 to open DevTools, and look at the Console tab.
Step 2: find every file that depends on XSLT
Do not rely on memory; search. Run these commands in a terminal at the root of your project and, if you have one, in your build output folder (dist/, public/, _site/ and so on):
grep -rnE "type=[\"']text/xsl[\"']" .
grep -rn "XSLTProcessor" --include='*.js' --include='*.mjs' --include='*.ts' --include='*.jsx' --include='*.tsx' --include='*.vue' --include='*.html' .
find . -name '*.xsl' -o -name '*.xslt'
What each does:
- The first finds XML files (or templates that generate them) containing the XSLT processing instruction. In my test it printed
./feed.xml:2:<?xml-stylesheet type="text/xsl" href="/feed.xsl"?>. - The second finds scripts that use the JavaScript API.
- The third lists stylesheet files, which tells you what each XML file was meant to look like.
A plugin may add the processing instruction at request time, so the file is not in your repository. Check the live URLs too. This command fetches the first lines of a live sitemap; replace the URL with yours:
curl -s https://example.com/sitemap.xml | head -n 3
If you see a line with xml-stylesheet and text/xsl, that URL is affected.
Step 3: choose a replacement
There are three practical options. Pick based on what the page is for.
Option A: produce the HTML at build time
Why: if the XSLT file already describes the page you want, run it once on your own machine or build server and publish the result as ordinary HTML. The browser no longer needs XSLT at all.
xsltproc is a command-line XSLT 1.0 processor from the libxslt project. On Debian or Ubuntu install it with sudo apt-get install xsltproc. This is the stylesheet I used:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="UTF-8"/>
<xsl:template match="/">
<xsl:apply-templates select="rss/channel"/>
</xsl:template>
<xsl:template match="channel">
<html>
<head><title><xsl:value-of select="title"/> (feed)</title></head>
<body>
<h1><xsl:value-of select="title"/></h1>
<ul>
<xsl:for-each select="item">
<li><a href="{link}"><xsl:value-of select="title"/></a></li>
</xsl:for-each>
</ul>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Run it in the folder that holds both files:
xsltproc --output feed.html feed.xsl feed.xml
With xsltproc built against libxslt 1.1.39, the output feed.html contained <title>Example Blog (feed)</title>, <h1>Example Blog</h1> and one list item linking to https://example.com/hello. Add this command to your build script so feed.html is regenerated whenever the feed changes, then link people to feed.html and keep feed.xml for feed readers.
You may also delete the <?xml-stylesheet type="text/xsl" ...?> line from feed.xml so Chrome stops printing the warning. Feed readers are built to read the XML data, so they should not depend on that line, but check your feed in a reader afterwards (see the last section).
Option B: style the XML with CSS
Why: if you only want the raw XML to look less frightening, CSS is enough and is still supported. CSS can change fonts, spacing and visibility, but it cannot reorder data, create links or add explanatory text the way XSLT could.
Change the processing instruction to point to a CSS file:
<?xml-stylesheet type="text/css" href="/feed.css"?>
and write rules that target the XML tag names:
rss { display: block; font-family: sans-serif; margin: 2rem; }
channel > title { display: block; font-size: 2rem; font-weight: bold; }
link, description { display: none; }
item { display: block; margin-top: 1rem; }
In Chrome 158 the CSS was applied: the computed display of the <rss> element was block, as the stylesheet says.
Option C: keep XML for machines and HTML for people
Why: this is the approach Chrome’s guide calls the standard HTML way. Instead of a visible link to feed.xml that people click by accident, put a discovery tag in the <head> of your HTML pages:
<link rel="alternate" type="application/rss+xml" title="Example Blog" href="/feed.xml">
Feed readers find the feed when a user pastes your homepage URL, and people never land on XML. Pair it with an ordinary HTML “Subscribe” page that explains how to follow the site. This does not help someone who pastes a feed URL straight into the browser, which is why Option A is still worth doing for a public feed.
What about the polyfill?
Chrome’s guide points to a polyfill built on WebAssembly (a compact binary format that browsers run alongside JavaScript) that re-creates XSLTProcessor and can transform an XML file if you add one <script> element to it. It is published on npm as xslt-polyfill. I did not run it for this article, so I cannot confirm how it behaves. Two facts worth weighing: version 1.0.38’s minified file is about 1.4 MB (roughly 0.5 MB after gzip compression), which every visitor downloads, and its own README calls it a stopgap. It makes most sense when you cannot change the XSLT logic quickly, for example in an older internal app. For a device whose XML pages you cannot change at all, the guide suggests a Chrome extension that applies the same polyfill in the user’s browser.
Limits and common mistakes
- Enterprise policy is temporary.
XSLTEnabledand the origin trial only delay the problem until Chrome 176, planned for August 2027. - Removing the
.xslfile is not the fix. Iffeed.xmlstill references it, nothing improves; remove or replace the processing instruction. - Do not convert the feed itself to HTML. Feed readers need the XML. Publish an extra HTML page instead of replacing the feed.
xsltprocis XSLT 1.0 only. If your stylesheet uses XSLT 2.0 or 3.0 features, it did not work in browsers either; you would need a newer processor such as Saxon.- Stylesheets generated by plugins. If a CMS plugin produced the XSL file, check whether a newer plugin version already changed it before writing your own fix.
Verify the result
- Re-run the three search commands from Step 2. Only files you intentionally kept should match.
- Open each public XML URL in Chrome 158 or later with DevTools open. The XSLT removal message should be gone.
- Open the new HTML page (
feed.htmlor your subscribe page) and check the links work. - Paste the feed URL into a feed reader, or validate it with a feed validator, to confirm the XML is unchanged.
If you use other new browser features, the same habit helps: check what each browser actually supports instead of assuming, as in this site’s article on CSS random() in Firefox 161.
Conclusion
Chrome 158 removed browser XSLT, and Firefox and Safari have said they plan to follow. Your RSS feed and sitemap still work for the software that reads them; what broke is the styled page people see when they open those files in a browser. Search your source and live URLs for text/xsl and XSLTProcessor, then either generate the HTML at build time with xsltproc, switch to a CSS stylesheet for light styling, or keep XML for machines and a normal HTML page for people.