CVE-2026-58266: Anki: User scripts in iframes have access to the internal Anki API

Published Jul 7, 2026
·
Updated

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.

Affected Software

1 affected component
Anki Anki<25.09.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Anki to a version that resolves this vulnerability.

    Fixed in 25.09.4

Event History

Jul 7, 2026
CVE Published
via MITRE·09:13 PM
Data Sourced
via MITRE·09:13 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-58266?

CVE-2026-58266 has a medium severity rating of 6.5.

2

How do I fix CVE-2026-58266?

To mitigate CVE-2026-58266, users should upgrade Anki to version 25.09.4 or later.

3

What does CVE-2026-58266 affect?

CVE-2026-58266 affects Anki's webview-based pages that allow user scripts in iframes to access the internal Anki API.

4

What is the potential impact of CVE-2026-58266?

The potential impact of CVE-2026-58266 includes unauthorized access to sensitive data through user scripts.

5

When was CVE-2026-58266 published?

CVE-2026-58266 was published on July 7, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203