Bug 2515223 - CVE-2026-65900 jupyterlab: DOMPurify: Template expression injection allows information disclosure [fedora-all]
Summary: CVE-2026-65900 jupyterlab: DOMPurify: Template expression injection allows in...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: jupyterlab
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Lumír Balhar
QA Contact:
URL:
Whiteboard: {"flaws": ["603ddf97-5437-4d68-b68f-f...
Depends On:
Blocks: CVE-2026-65900
TreeView+ depends on / blocked
 
Reported: 2026-08-13 10:55 UTC by Ganesh
Modified: 2026-10-14 11:58 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ganesh 2026-08-13 10:55:25 UTC
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 versions >=3.0.0 and before 3.4.8, when configured with SAFE_FOR_TEMPLATES together with a DOM output mode (RETURN_DOM, RETURN_DOM_FRAGMENT, or IN_PLACE), fail to strip template expressions (e.g. ${evil}, {{evil}}, <%evil%>) inside <template> element content. The final normalization/scrub pass (_scrubTemplateExpressions) uses a NodeIterator and node.normalize() that do not descend into template.content, so expressions that only form after adjacent text nodes merge survive sanitization. This bypasses SAFE_FOR_TEMPLATES and can allow a downstream template engine to evaluate attacker-supplied expressions. The string output path is not affected.

Comment 1 Lumír Balhar 2026-10-12 08:35:38 UTC
Fixed in rawhide, f45 and older still affected.

Comment 2 Lumír Balhar 2026-10-14 11:58:15 UTC
I've just created an update for Jupyterlab (to 4.6.3) and related packages for F45 which is going to fix this vulnerability.


Note You need to log in before you can comment on or make changes to this bug.