Investigate deprecation and removal of XSLT (deprecate and remove XSLT)
Categories
(Core :: XSLT, task)
Tracking
()
People
(Reporter: zcorpan, Unassigned)
References
(Depends on 4 open bugs)
Details
(Keywords: dev-doc-needed, sec-want)
This is a tracking bug for the deprecation and removal of XSLT.
- Spec issue: https://github.com/whatwg/html/issues/11523
- s-p: https://github.com/mozilla/standards-positions/issues/1287
- Chromium issue: https://issues.chromium.org/issues/435623334
- Chrome use counters:
- XSLProcessingInstruction: https://chromestatus.com/metrics/feature/timeline/popularity/78
- XSLTProcessor: https://chromestatus.com/metrics/feature/timeline/popularity/79
- Compat analysis: https://github.com/whatwg/html/issues/11523#issuecomment-3200690662
- OffensiveCon25 talk by Ivan Fratric about security issues in XSLT: https://www.youtube.com/watch?v=U1kc7fcF5Ao (slides)
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Comment 1•1 year ago
|
||
Chromium Intent to deprecate and remove was approved: https://groups.google.com/a/chromium.org/g/blink-dev/c/CxL4gYZeSJA/m/yNs4EsD5AQAJ
Their current plan is:
- M142 (Oct 28, 2025): Early warning console messages added to Chrome.
- M143 (Dec 2, 2025): Official deprecation of the API - deprecation warning messages begin to show in the console and in lighthouse.
- M148 (March 10, 2026 Canary): Canary, Dev, and Beta releases begin disabling XSLT by default, as an early-warning.
- M152 (Aug 25, 2026): Origin Trial and Enterprise Policy go live for testing. These allow sites and enterprises to continue using features past the removal date.
- M155 (Nov 17, 2026): XSLT stops functioning on Stable releases, for all users other than Origin Trial and Enterprise Policy participants.
- M164 (Aug 17, 2027): Origin Trial and Enterprise Policy stop functioning. XSLT is disabled for all users.
Comment 2•1 year ago
|
||
Is there a way for the community to express their opinion on this and would it be listened to?
| Reporter | ||
Comment 3•1 year ago
|
||
The community has already shared extensive feedback in the spec issue, related PRs, new spec issues, the standards position issue, Reddit discussions, and elsewhere. We’ve taken these perspectives into account, along with factors such as web compatibility, user security, and the opportunity cost of different options.
If you have new, relevant information that hasn’t been raised in those places, please feel free to share it here, or in one of the open or a new spec issue, if it applies more broadly across browsers. Thanks!
| Comment hidden (advocacy) |
| Comment hidden (advocacy) |
Updated•8 months ago
|
Comment 6•3 months ago
|
||
I am experimenting with Firefox polyfill extension to determine whether the XSLT-based tools and webpages from my GitHub project will continue to work when XSLT is disabled.
After loading the extension I went to about:config and searched on XSLT. There were two entries: XSLT and XSLT dom.
I disabled XSLT (keeping XSLT dom enabled) and my XSLT-based tools appear to run, I had no indication that the XSLT Polyfill extension was being executed. (in contrast, the XSLT Polyfill extension on Chrome displays a message in the browser window when it is enabled.
When I disabled XSLT Dom, the operation changed. The following message displayed in the browser window. "This document cannot be formatted as intended. It uses XSLT, which the browser does not support. You might be able to install a browser extension that allows you to view it." After about a five second delay the page with XSLT content rendered.
My questions:
- do both XSLT and XSLT dom need to be disabled to test the extension?
- why does the error message appear when I have the required extension installed and activated?
- what is being done for continued XSLT support on Firefox for iPhone?
Comment 7•3 months ago
|
||
(In reply to Jim Whitmore from comment #6)
- what is being done for continued XSLT support on Firefox for iPhone?
Firefox for iOS uses WebKit, so it won't be affected by this change. I believe that any deprecation for XSLT will come from Apple not Mozilla. I'm not sure if anything has been announced there.
Comment 8•3 months ago
|
||
FYI, my pages and tools are located at https://jjwhitmore.github.io/SE-workbench/
The Data Table Tools are basic. The Explorer tools are more complex. Both set of tools are based on XSLT.
Updated•2 months ago
|
Description
•