CVE-2026-58266
published medium CVSS 3.1 · 6.5Anki: User scripts in iframes have access to the internal Anki API
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ankitects | — | anki< 25.09.4 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ankitects | anki | < 25.09.4 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-346 CWE-346: Origin Validation Error
References
3Provider assertions
2GitHub_M · cna
Anki: User scripts in iframes have access to the internal Anki API
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8df96edd9b09f4e46f4a34b38c6cdd883f673e0f2d06fc8355980df6abbca9e1
- Ingested
- 23 Sep 2026, 09:22:29 UTC
- Source record
- Official CVE record