Description
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.
Problem types
CWE-346: Origin Validation Error
Product status
References
github.com/...s/anki/security/advisories/GHSA-cw6h-ffmh-x6vh
github.com/...ommit/b2b68d829e853da51b5de8aad6c13b53e90bc20d
github.com/ankitects/anki/releases/tag/25.09.4