CVE-2026-58266 Details
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.
A vulnerability in Anki's webview-based pages prior to version 25.09.4 allows user scripts in iframes embedded within the editor to access an internal localhost API. This access is unintended, as Anki has measures to block such interactions from the reviewer and editor scripts. Exploiting this vulnerability, a maliciously crafted card package could read arbitrary files accessible to the Anki process using exposed API methods, such as 'getImageForOcclusion', and exfiltrate the data over the network.
Users should upgrade to Anki version 25.09.4 or later. Instructions for upgrading are available on the Anki GitHub release page.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 7, 2026CISA-ADP
Assessed Jul 8, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/ankitects/anki/commit/b2b68d829e853da51b5de8aad6c13b53e90bc20d | [email protected] | Source CodeVendor |
| https://github.com/ankitects/anki/releases/tag/25.09.4 | [email protected] | Release NotesVendor |
| https://github.com/ankitects/anki/security/advisories/GHSA-cw6h-ffmh-x6vh | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-346 | Origin Validation Error | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Anki | <= 25.09.3 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 8, 2026 | CVE Modified | CISA-ADP |
| Jul 7, 2026 | New CVE Received | [email protected] |
Volerion