Fedora Account System
Red Hat Associate
Red Hat Customer
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process. DOMPurify through 3.3.3 fails to sanitize DOM elements passed via IN_PLACE mode when the element originates from a different window/realm (e.g., an iframe's contentDocument). A cross-realm instanceof check in the private _isNode() function returns false for foreign-realm nodes, causing DOMPurify to stringify the element (yielding '[object HTMLDivElement]'), silently reset IN_PLACE to false, and return the unsanitized element unchanged with any XSS payloads intact. The vendor considers this an edge case outside DOMPurify's threat model and, at time of publication, no fix was planned.
Fixed in rawhide, f45 and older still affected.
I've just created an update for Jupyterlab (to 4.6.3) and related packages for F45 which is going to fix this vulnerability.
The issue is fixed in the latest jupyterlab 4.6.6 that bundles dompurify 3.4.16 and that update is ready for F44+. F43 is going to be EOL soon and I don't plan to update jupyterlab there until that.