CVE-2026-58266CWE-346

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

Medium · published July 7, 2026

CVSS v3.1
6.5
EPSS
0%
Percentile
11.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00221 · 11.9th percentile
Weakness
CWE-346 · Origin Validation Error
Published
2026-07-07T21:13Z
EPSS history
Timeline
  • 07 JUL 21:13Z
    Anki: User scripts in iframes have access to the internal Anki API
    cvelistv5