Intel

AIKIDO-2026-934003

ipython is vulnerable to Cross-Site Scripting (XSS)

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Aug 4, 2026
August 4, 2026

52

CVE Score

Medium

Cross-Site Scripting (XSS)

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.

How do I fix this?

Upgrade the ipython library to the patch version.

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).

Package

Versions

0.0.1 - 9.15.0

Fixed in 9.16.0

Background info

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

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea