Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-58266: CWE-346: Origin Validation Error in ankitects anki

0
Medium
VulnerabilityCVE-2026-58266cvecve-2026-58266cwe-346
Published: 07/07/2026 (07/07/2026, 21:13:42 UTC)
Source: CVE Database V5
Vendor/Project: ankitects
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Affected software

GitHub Actionsmore threats →ai
ankitects/anki
pkg:github/ankitects/anki
Affected versions
<25.09.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/07/2026, 21:58:38 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses