Skip to main content
← All vulnerabilities
CVE-2026-58266GHSA-CW6H-FFMH-X6VH

Anki: User scripts in iframes have access to the internal Anki API

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 25.09.4, 25.9.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Anki is a program for creating and reviewing flashcards. Prior to 25.09.4, Anki's webview-based pages communicate with the Rust backend using an internal localhost API, and user scripts included via iframes in the editor can access this API despite protections intended to block reviewer and editor scripts. A malicious imported card package with an embedded iframe can use exposed API methods such as getImageForOcclusion to read arbitrary files accessible to the Anki process and exfiltrate them over the network. This issue is fixed in version 25.09.4.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • ankitects anki

    fixed in 25.09.4

  • aqtPyPI

    fixed in 25.9.4

References 3

GitHub · ankitects/anki