CVE-2026-58266: CWE-346: Origin Validation Error in ankitects anki
Anki versions prior to 25.09.4 contain an origin validation error in their webview-based internal localhost API communication. This flaw allows malicious user scripts embedded via iframes in imported card packages to bypass intended protections and access API methods that can read arbitrary files accessible to the Anki process and exfiltrate them. The vulnerability is fixed in version 25.09.4.
AI Analysis
Technical Summary
CVE-2026-58266 is an origin validation error (CWE-346) in ankitects' Anki software before version 25.09.4. Anki's webview pages communicate with the Rust backend via an internal localhost API. However, user scripts included through iframes in the editor can access this API despite protections meant to restrict access to reviewer and editor scripts. A malicious imported card package embedding an iframe can exploit exposed API methods such as getImageForOcclusion to read arbitrary files accessible to the Anki process and exfiltrate them over the network. This issue is resolved in Anki version 25.09.4.
Potential Impact
An attacker who imports a malicious card package with an embedded iframe can exploit this vulnerability to read arbitrary files accessible by the Anki process and exfiltrate sensitive data over the network. This compromises confidentiality but does not affect integrity or availability. The CVSS 3.1 base score is 6.5 (medium severity), reflecting network attack vector, low complexity, no privileges required, user interaction required, unchanged scope, high confidentiality impact, and no integrity or availability impact.
Mitigation Recommendations
This vulnerability is fixed in Anki version 25.09.4. Users should upgrade to version 25.09.4 or later to remediate this issue. No official patch or temporary fix is indicated beyond upgrading. Since this is not a cloud service, remediation depends on user action to update the software.
CVE-2026-58266: CWE-346: Origin Validation Error in ankitects anki
Description
Anki versions prior to 25.09.4 contain an origin validation error in their webview-based internal localhost API communication. This flaw allows malicious user scripts embedded via iframes in imported card packages to bypass intended protections and access API methods that can read arbitrary files accessible to the Anki process and exfiltrate them. The vulnerability is fixed in version 25.09.4.
CVSS v3.1
Score 6.5medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-58266 is an origin validation error (CWE-346) in ankitects' Anki software before version 25.09.4. Anki's webview pages communicate with the Rust backend via an internal localhost API. However, user scripts included through iframes in the editor can access this API despite protections meant to restrict access to reviewer and editor scripts. A malicious imported card package embedding an iframe can exploit exposed API methods such as getImageForOcclusion to read arbitrary files accessible to the Anki process and exfiltrate them over the network. This issue is resolved in Anki version 25.09.4.
Potential Impact
An attacker who imports a malicious card package with an embedded iframe can exploit this vulnerability to read arbitrary files accessible by the Anki process and exfiltrate sensitive data over the network. This compromises confidentiality but does not affect integrity or availability. The CVSS 3.1 base score is 6.5 (medium severity), reflecting network attack vector, low complexity, no privileges required, user interaction required, unchanged scope, high confidentiality impact, and no integrity or availability impact.
Mitigation Recommendations
This vulnerability is fixed in Anki version 25.09.4. Users should upgrade to version 25.09.4 or later to remediate this issue. No official patch or temporary fix is indicated beyond upgrading. Since this is not a cloud service, remediation depends on user action to update the software.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-29T21:54:30.331Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a4d7350c9d9e3dbe3e36b3d
Added to database: 07/07/2026, 21:44:48 UTC
Last enriched: 07/07/2026, 21:58:38 UTC
Last updated: 07/07/2026, 22:31:08 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.