Intel

AIKIDO-2026-934003

ipython is vulnerable to Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 3 days ago

52

Medium Risk

This Affects:

PYTHONipython
0.0.1 - 9.15.0
Fixed in 9.16.0
Are you affected? Scan for Free

TL;DR

IPython display helpers (Image, Video, Audio, IFrame, YouTubeVideo/VimeoVideo/ScribdDocument, and FileLinks) interpolated caller-supplied URLs, dimensions, element IDs, and on-disk file names into HTML attributes without escaping. A quote in those values closes the attribute and the remainder is parsed as markup, so a crafted value such as YouTubeVideo('abc"><script>') injects tags into notebook HTML output. The fix HTML-escapes these interpolated values before they are written into attributes.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and render display objects whose URL, ID, dimensions, or file names can be influenced by untrusted input (including shared notebooks and FileLinks over attacker-writable directories).

Background info

ipython is vulnerable to Cross-Site Scripting (XSS) in versions 0.0.1 - 9.15.0.

How to fix this

Upgrade the ipython library to the patch version.