CVE-2026-58266
MEDIUMAnki: User scripts in iframes have access to the internal Anki API
Title source: cnaDescription
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.
References (3)
Core 3
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/ankitects/anki/security/advisories/GHSA-cw6h-ffmh-x6vh
X_Refsource_Misc x_refsource_misc
https://github.com/ankitects/anki/commit/b2b68d829e853da51b5de8aad6c13b53e90bc20d
X_Refsource_Misc x_refsource_misc
https://github.com/ankitects/anki/releases/tag/25.09.4
Scores
CVSS v3
6.5
EPSS
0.0017
EPSS Percentile
6.5%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-346
Status
published
Products (1)
ankitects/anki
< 25.09.4
Published
Jul 07, 2026
Tracked Since
Jul 08, 2026